-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Fix UTC/local inconsistencies for naive datetimes #1506
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
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
ab64d4e
fix: unify naive datetime treatment to assume UTC
plammens cdf07b8
fix: more local --> UTC fixes for naive datetimes
plammens 56466ac
fix: take timezone into account for checking weekday
plammens 6ed29bb
refactor: fix style issues in #1506
plammens 7806071
fix: signature breaking changes
plammens cc40d63
fix: make absolute datetime and reference_timestamp mutually exclusive
plammens 9eaef0f
Merge remote-tracking branch 'origin/master' into fix-datetimes
tsnoam 2fc93fe
Merge remote-tracking branch 'origin/master' into fix-datetimes
tsnoam 82fe342
fix: don't accept `None` in `to_float_timestamp`
plammens 1ae2650
fix: raise error in `JobQueue._put` if no time specification is given
plammens faaed20
fix: naming of internal variables
plammens 3d3b707
tests: more tests for time helpers & aware datetimes
plammens 1396ca9
fix: bug in merge 2fc93fe1 & 9eaef0f6
plammens a2018fe
cosmetic fixes
tsnoam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.