lingguang commented on issue #12434:
URL: https://github.com/apache/druid/issues/12434#issuecomment-1706190365

   "period": "P7D"
   origin 2022-03-27T02:35:00.000-06:00
   -21D(expected) 2022-03-06T02:35:00.000-07:00
   -14D 2022-03-13T03:35:00.000-06:00
   -14D-7D 2022-03-06T03:35:00.000-07:00
   DST Transition 2022-03-13T03:00:00.000-06:00
   
   We are using the timezone (America/Denver), and there is a DST transition on 
2022-03-13 from -7:00 to -6:00.
   -14D happened to fall into the DST transition gap, so there was no 2:35 
local time on that day, and the nearest 03:35 was returned. Then when -7D 
again, it returned 3:35 local time on 2022-03-06.
   With -21D, it returned 2:35 local tome on 2022-03-06, which is expected.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to