Madu Biradar created XMLBEANS-605:
-------------------------------------

             Summary: XmlDateTime.Factory.getGDateValue() API not converting 
date time correctly during DST hours
                 Key: XMLBEANS-605
                 URL: https://issues.apache.org/jira/browse/XMLBEANS-605
             Project: XMLBeans
          Issue Type: Bug
          Components: XmlObject
            Reporter: Madu Biradar


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



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to