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

Expression comparison of date/time w/o timezone defined causes abort

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.3.0
    • None
    • None

    Description

      See test test_comparison_operators_46a()

      This test doesn't override the default value for dfdl:calendarTimeZone of "", meaning unknown time zone. It fails with assertion failed about "hasTimeZone".

      test test_comparison_operators_46() overrides that with dfdl:calendarTimeZone="UTC" so it passes.

      Bug was undiscovered because DFDLGeneralFormat used to define dfdl:calendarTimeZone to be "UTC", but it should be "" (not defined) by default, so when changed to this, the assertion failure if no timezone defined occurs.

      Attachments

        Activity

          People

            slawrence Steve Lawrence
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: