-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 issue #2037 - modifying a dayjs instance created with plugin timezone in UTC corrupts it #2118
Open
BePo65
wants to merge
23
commits into
iamkun:dev
Choose a base branch
from
BePo65:fix/issue2037
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Oct 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4542a1f - Browse repository at this point
Copy the full SHA 4542a1fView commit details
Commits on Nov 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cec0cc0 - Browse repository at this point
Copy the full SHA cec0cc0View commit details
Commits on Dec 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4898982 - Browse repository at this point
Copy the full SHA 4898982View commit details
Commits on Jan 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b64337c - Browse repository at this point
Copy the full SHA b64337cView commit details
Commits on Jul 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2e886c2 - Browse repository at this point
Copy the full SHA 2e886c2View commit details
Commits on Sep 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ef1e96e - Browse repository at this point
Copy the full SHA ef1e96eView commit details
Commits on Sep 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bbb28a6 - Browse repository at this point
Copy the full SHA bbb28a6View commit details -
chore(release): 1.11.9 [skip ci]
## [1.11.9](iamkun/dayjs@v1.11.8...v1.11.9) (2023-07-01) ### Bug Fixes * Add null to min and max plugin return type ([iamkun#2355](iamkun#2355)) ([62d9042](iamkun@62d9042)) * check if null passed to objectSupport parser ([iamkun#2175](iamkun#2175)) ([013968f](iamkun@013968f)) * dayjs.diff improve performance ([iamkun#2244](iamkun#2244)) ([33c80e1](iamkun@33c80e1)) * dayjs(null) throws error, not return dayjs object as invalid date ([iamkun#2334](iamkun#2334)) ([c79e2f5](iamkun@c79e2f5)) * objectSupport plugin causes an error when null is passed to dayjs function (closes [iamkun#2277](iamkun#2277)) ([iamkun#2342](iamkun#2342)) ([89bf31c](iamkun@89bf31c)) * Optimize format method ([iamkun#2313](iamkun#2313)) ([1fe1b1d](iamkun@1fe1b1d)) * update Duration plugin add/subtract take into account days in month ([iamkun#2337](iamkun#2337)) ([3b1060f](iamkun@3b1060f)) * update MinMax plugin 1. ignore the 'null' in args 2. return the only one arg ([iamkun#2330](iamkun#2330)) ([3c2c6ee](iamkun@3c2c6ee))
Configuration menu - View commit details
-
Copy full SHA for 39308c9 - Browse repository at this point
Copy the full SHA 39308c9View commit details -
chore(release): 1.11.10 [skip ci]
## [1.11.10](iamkun/dayjs@v1.11.9...v1.11.10) (2023-09-19) ### Bug Fixes * Add Korean Day of Month with ordinal ([iamkun#2395](iamkun#2395)) ([dd55ee2](iamkun@dd55ee2)) * change back fa locale to the Gregorian calendar equivalent ([iamkun#2411](iamkun#2411)) ([95e9458](iamkun@95e9458)) * duration plugin - MILLISECONDS_A_MONTH const calculation ([iamkun#2362](iamkun#2362)) ([f0a0b54](iamkun@f0a0b54)) * duration plugin getter get result 0 instead of undefined ([iamkun#2369](iamkun#2369)) ([061aa7e](iamkun@061aa7e)) * fix isDayjs check logic ([iamkun#2383](iamkun#2383)) ([5f3f878](iamkun@5f3f878)) * fix timezone plugin to get correct locale setting ([iamkun#2420](iamkun#2420)) ([4f45012](iamkun@4f45012)) * **locale:** add meridiem in `ar` locale ([iamkun#2418](iamkun#2418)) ([361be5c](iamkun@361be5c)) * round durations to millisecond precision for ISO string ([iamkun#2367](iamkun#2367)) ([890a17a](iamkun@890a17a)) * sub-second precisions need to be rounded at the seconds field to avoid adding floats ([iamkun#2377](iamkun#2377)) ([a9d7d03](iamkun@a9d7d03)) * update $x logic to avoid plugin error ([iamkun#2429](iamkun#2429)) ([2254635](iamkun@2254635)) * Update Slovenian locale for relative time ([iamkun#2396](iamkun#2396)) ([5470a15](iamkun@5470a15)) * update uzbek language translation ([iamkun#2327](iamkun#2327)) ([0a91056](iamkun@0a91056))
Configuration menu - View commit details
-
Copy full SHA for 7e2c794 - Browse repository at this point
Copy the full SHA 7e2c794View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3cfe79 - Browse repository at this point
Copy the full SHA d3cfe79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b6dafc - Browse repository at this point
Copy the full SHA 1b6dafcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 093cf9c - Browse repository at this point
Copy the full SHA 093cf9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c194751 - Browse repository at this point
Copy the full SHA c194751View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9561c98 - Browse repository at this point
Copy the full SHA 9561c98View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0af8d9 - Browse repository at this point
Copy the full SHA e0af8d9View commit details -
test: increase test coverage of timezone to 100%
Removed default value for input parameter 'options', as getDateTimeFormat is never called without an options parameter; so this case cannot be tested.
Configuration menu - View commit details
-
Copy full SHA for ea7bf75 - Browse repository at this point
Copy the full SHA ea7bf75View commit details -
Configuration menu - View commit details
-
Copy full SHA for f541369 - Browse repository at this point
Copy the full SHA f541369View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96b49fd - Browse repository at this point
Copy the full SHA 96b49fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4e9819 - Browse repository at this point
Copy the full SHA f4e9819View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1af5a59 - Browse repository at this point
Copy the full SHA 1af5a59View commit details -
test: add tests for timezone name and tz.offsetName
'timezone name' is an internal field of dayjs (dayjs.$x.$timezone, while 'tz.offsetName' is "official" name of the timezone returned by Intl.DateTimeFormat
Configuration menu - View commit details
-
Copy full SHA for 086c7f8 - Browse repository at this point
Copy the full SHA 086c7f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cb0ef7 - Browse repository at this point
Copy the full SHA 4cb0ef7View commit details
Commits on Jul 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ed63026 - Browse repository at this point
Copy the full SHA ed63026View commit details
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.