Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-121

Please clarify whether agents handling DateTimeOffset must preserve the UTC offset

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.0_WD01
    • Fix Version/s: V4.0_WD01
    • Component/s: Protocol
    • Labels:
      None
    • Environment:

      [Proposed]

      Description

      The following two DateTimeOffset values identify the same point in time:

      2012-09-13T15:33:45Z
      2012-09-13T16:33:45+01:00

      However, it is not clear from the specification if an agent/proxy that is propagating OData documents is required to preserve the actual UTC offset for any given value, or whether it is free to convert between values that represent the same point in time.

      Suggestion: If conversion (preserving the point in time but altering the date/time/offset portions) is permitted, then the data type might more appopriately be named UtcDateTime.

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              evan.ireland.2 Evan Ireland
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: