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

Timezone aware times give incorrect results #31

Closed
lissom opened this issue Mar 8, 2023 · 1 comment
Closed

Timezone aware times give incorrect results #31

lissom opened this issue Mar 8, 2023 · 1 comment

Comments

@lissom
Copy link

lissom commented Mar 8, 2023

The left is datetime.now(), the right is localized to New York.
US DST changes March 12 and Nov 4th, it looks look that is breaking this expression for March/Nov
Certainly others with L, also tried * * * * L5

0 0 L * *
2023-03-31 00:00:00 2023-03-30 23:00:00-04:00
2023-04-30 00:00:00 2023-03-31 00:00:00-04:00
2023-05-31 00:00:00 2023-04-30 00:00:00-04:00
2023-06-30 00:00:00 2023-05-31 00:00:00-04:00
2023-07-31 00:00:00 2023-06-30 00:00:00-04:00
2023-08-31 00:00:00 2023-07-31 00:00:00-04:00
2023-09-30 00:00:00 2023-08-31 00:00:00-04:00
2023-10-31 00:00:00 2023-09-30 00:00:00-04:00
2023-11-30 00:00:00 2023-10-31 00:00:00-04:00
2023-12-31 00:00:00 2023-11-30 01:00:00-05:00

@kiorky
Copy link
Owner

kiorky commented Mar 8, 2023

duplicate #1

@kiorky kiorky closed this as completed Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants