Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: take DST into account in augend.date["%H:%M"] #74

Merged
merged 1 commit into from Aug 27, 2023

Commits on Aug 24, 2023

  1. 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 <thfaivre@gmail.com>
    ThomasFaivre committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    2ac35b6 View commit details
    Browse the repository at this point in the history