iampratap7997-dot opened a new pull request, #18026:
URL: https://github.com/apache/dolphinscheduler/pull/18026

   <!--Thanks very much for contributing to Apache DolphinScheduler, we are 
happy that you want to help us improve DolphinScheduler! -->
   
   ## Was this PR generated or assisted by AI?
   NO (Only the manual test case for America/Los_Angeles timezone was created 
by AI to verify the fix.)
   
   ## Purpose of the pull request
   
   Fixes #18015 DST issue when calculating $[yyyyMMdd±N] time placeholders.  
   Day-based calculations were previously implemented in minutes, which caused 
incorrect dates during Daylight Saving Time transitions.
   ## Brief change log
   
   1- Replaced minute-based day calculations with addDays for expressions like 
yyyyMMdd+N & yyyyMMdd-N.
   2- Ensures correct date calculation in timezones with DST (e.g., 
America/Los_Angeles).
   
   ## Verify this pull request
   
   - The fix was manually verified using America/Los_Angeles timezone around 
DST transition.
   - Unit tests cover existing placeholders (no new tests added, logic change 
only).
   
   
   
   
   ## Pull Request Notice
   [Pull Request 
Notice](https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/contribute/join/pull-request.md)
   
   If your pull request contains incompatible change, you should also add it to 
`docs/docs/en/guide/upgrade/incompatible.md`


-- 
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]

Reply via email to