Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-605

XmlDateTime.Factory.getGDateValue() API not converting date time correctly during DST hours

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • None
    • None
    • XmlObject
    • None

    Description

      Issue scenario is,

       

      For example if lab is having timezone of EET +0200
      DST starts for this timezone on - Sun 2022-03-27 02:59:59 EET

       

      Because of using getDateValue() method from xmlbeans

      Issue range of date time seen- Sun 2022-03-27 00:59:59 EET to Sun 2022-03-27 02:59:59 EET

      Range of eventtime is 2hrs before DST start time (Sun 2022-03-27 02:59:59 EET) which is because of EET timezone is 2hrs more of UTC time (EET +0200)

      If datetime value is having time within this range there is issue while sending date from one system to another system.

       

      Example with issue time,
      date time sent - Sun 2022-03-27 02:14:59 EET When sent from one system to another system- Sun 2022-03-27 01:14:59
      date time sent - Sun 2022-03-27 01:14:59 EET When sent from one system to another system - Sun 2022-03-27 00:14:59

       

      No issue seen,
      datetime sent - Sun 2022-03-27 00:14:59 EET When from one system to another system - Sun 2022-03-27 00:14:59

      Attachments

        Activity

          People

            Unassigned Unassigned
            madubiradar Madu Biradar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: