-
-
Notifications
You must be signed in to change notification settings - Fork 670
fix: Fix and refactor Date #1804
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
52 commits
Select commit
Hold shift + click to select a range
1db5851
init
MaxGraey 657437d
simplify
MaxGraey 1dfbe7f
refactor more
MaxGraey 916f674
precalc and cache UTC date's values
MaxGraey e6fc2a6
refactor + more tests
MaxGraey 795d014
more tests
MaxGraey cfa431b
more checks
MaxGraey 264e666
fixes (WIP)
MaxGraey 4715bc7
skip add guards
MaxGraey 0cdc388
typo
MaxGraey b6a4ed6
more fixes and tests
MaxGraey 00c0758
more
MaxGraey 28ec3ec
more
MaxGraey 6cf10c7
partially fix (wip)
MaxGraey e3b788d
more
MaxGraey c578d02
fixes done!
MaxGraey 470d966
more fixes for toISOString
MaxGraey 5a91cfe
fix guard check
MaxGraey 2f2a0f4
minor opt toISOString
MaxGraey 10ea880
more
MaxGraey 028a67f
remove boundaries
MaxGraey ab9f9ac
opt floorMod for positive values
MaxGraey 994d6b8
add guard for Date.UTC
MaxGraey cbf4579
remove inline from invalidDate
MaxGraey b53d9c6
use unsigned types for some ymdFromEpochDays and daysSinceEpoch ops
MaxGraey 0c8aa0c
more parser fixes
MaxGraey e74c915
refactor
MaxGraey 36ab8ba
more parser fixes
MaxGraey 07b1b58
wip
MaxGraey 9d8fc45
refactor
MaxGraey 0d22062
fixes
MaxGraey 56ecf2b
add Date.parse class method
MaxGraey b2c52c6
comment
MaxGraey ea5c3c2
Merge branch 'master' into date-refactor
MaxGraey 171922f
Merge branch 'master' into date-refactor
MaxGraey 3df0ef5
update fixtures
MaxGraey 4f9142b
Merge branch 'master' into date-refactor
MaxGraey eb29f2d
more tests
MaxGraey acb3176
more special tests
MaxGraey fc58777
fixme later
MaxGraey bf82286
Merge branch 'master' into date-refactor
MaxGraey 9cbb950
typo in comment
MaxGraey 1bf570b
force ci
MaxGraey 74a225c
works?
MaxGraey c57c91f
upd fixtures
MaxGraey 99cf242
add getUTCDay
MaxGraey e23479a
remove export
MaxGraey ccc731b
fix
MaxGraey 1db25ee
opt floorMod
MaxGraey 18fdc7d
refactor dayOfWeek
MaxGraey 2134f60
floorMod -> euclidRem
MaxGraey a7c86b6
Merge branch 'master' into date-refactor
MaxGraey 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.