Skip to content

Comparing timestamps without timezone indication #148

Description

@rorlic

The TREE specification defines the behavior on how to interpret an xsd:dateTime without a timezone indication:

xsd:dateTime literals without a timezone comparisons MUST be performed by interpreting the xsd:dateTime literal as a period of time, with a min inclusive bound of -14:00 and max exclusive bound of +14:00.

I am assuming that this refers to the literal values that result from applying the tree:path (LHS). However, if both the LHS and the RHS are a xsd:dateTime without a timezone indication, this may become pretty complex for matching the constraint. E.g. :

  • What is less-than? Is this period A is completely or partially before period B?
  • How do you specify period containment?
  • etc.

Maybe we should not allow the use of a xsd:dateTime without a timezone indication for tree:value and put that explicitly here?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions