We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With TZ=US/Central:
TZ=US/Central
Chronic.parse('last weekday', now: Time.local(2018, 3, 5)) # Monday => 2018-03-02 11:00:00 -0600 # previous Friday (expected) Chronic.parse('last weekday', now: Time.local(2018, 3, 12)) # Monday => 2018-03-10 11:00:00 -0600 # previous Saturday (unexpected)
With TZ=UTC:
TZ=UTC
Chronic.parse('last weekday', now: Time.local(2018, 3, 12)) # Monday => 2018-03-09 11:00:00 +0000 # previous Friday (expected)
Likely has to do with the Daylight Savings change.
The text was updated successfully, but these errors were encountered:
probably same as #344
Sorry, something went wrong.
No branches or pull requests
With
TZ=US/Central
:With
TZ=UTC
:Likely has to do with the Daylight Savings change.
The text was updated successfully, but these errors were encountered: