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

DFDLGeneralFormat defines calendarTimeZone as UTC - should define as ""

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • Front End
    • 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

            dfthompson Dave Thompson
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: