Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-1930

DFDLGeneralFormat defines calendarTimeZone as UTC - should define as ""

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: Front End
    • Labels:
      None

      Description

      Because DFDLGeneralFormat.dfdl.xsd defines calendarTimeZone="UTC" dates like "7/4/1999" come through in the infoset as 1999-07-04+00:00, that is, with the trailing time-zone specifier.

      The right definition for calendarTimeZone for a general purpose format is "", which means "time zone unknown".

      This avoids the need for all users of DFDLGeneralFormat who have dates to override calendarTimeZone themselves to "" value, and puts the burden on them to define it if they know and want a default time zone.

      Note: changing this will likely change the behavior of dateTime type as well as the date type, and we should not be taking time zone information or defaults from the local machine settings.

        Attachments

          Activity

            People

            • Assignee:
              dfthompson Dave Thompson
              Reporter:
              mbeckerle Michael Beckerle
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: