-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: take DST into account in augend.date["%H:%M"]
When trying to increase/decrease a time from a Europe/Paris time zone, dial cannot find the time pattern because `os.date` will take DST into account and will return a time increased by 1 hour. By preserving DST value from the host, consistency is ensured between the calls to `os.date`. Run the date_spec.lua file with different time zones in order to correctly test DST during the whole year. Link: https://en.wikipedia.org/wiki/Daylight_saving_time_by_country Signed-off-by: Thomas Faivre <[email protected]>
- Loading branch information
1 parent
c6657df
commit 2ac35b6
Showing
3 changed files
with
59 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters