Bump date-fns and date-fns-tz in /graph-sample
Bumps date-fns and date-fns-tz. These dependencies needed to be updated together.
Updates date-fns from 2.30.0 to 3.6.0
Release notes
Sourced from date-fns's releases.
v3.6.0
On this release worked
@kossnocorpand@world1dan. Also, thanks to@seatedfor sponsoring me.Fixed
Added
v3.5.0
Kudos to
@fturmel,@kossnocorp,@makstyle119,@tan75,@marcreichel,@tareknatshehand@audunrufor working on the release. Also, thanks to@seatedfor sponsoring me.Fixed
Added
Added the
constructNowfunction that creates the current date using the passed reference date's constructor.v3.4.0
Kudos to
@kossnocorp,@sakamossan, and@Revan99for working on the release. Also, thanks to@seatedfor sponsoring me.Added
v3.3.1
Kudos to
@kossnocorpand@fturmelfor working on the release.Fixed
Fixed DST issue in
getOverlappingDaysInIntervals, resulting in an inconsistent number of days returned for intervals starting and ending in different DST periods.Fixed functions incorrectly using
truncinstead ofround. The bug was introduced in v3.3.0. The affected functions:differenceInCalendarDays,differenceInCalendarISOWeeks,differenceInCalendarWeeks,getISOWeek,getWeek, andgetISOWeeksInYear.v3.3.0
On this release worked
@kossnocorp,@TheKvikk,@fturmeland@ckcherry23.Fixed
... (truncated)
Changelog
Sourced from date-fns's changelog.
v3.6.0 - 2024-03-18
On this release worked
@kossnocorpand@world1dan. Also, thanks to@seatedfor sponsoring me.Fixed
Added
v3.5.0 - 2024-03-15
Kudos to
@fturmel,@kossnocorp,@makstyle119,@tan75,@marcreichel,@tareknatshehand@audunrufor working on the release. Also, thanks to@seatedfor sponsoring me.Fixed
Added
Added the
constructNowfunction that creates the current date using the passed reference date's constructor.v3.4.0 - 2024-03-11
Kudos to
@kossnocorp,@sakamossanand@Revan99for working on the release. Also, thanks to@seatedfor sponsoring me.Added
v3.3.1 - 2024-01-22
Kudos to
@kossnocorpand@fturmelfor working on the release.Fixed
Fixed DST issue in
getOverlappingDaysInIntervals, resulting in an inconsistent number of days returned for intervals starting and ending in different DST periods.Fixed functions incorrectly using
truncinstead ofround. The bug was introduced in v3.3.0. The affected functions:differenceInCalendarDays,differenceInCalendarISOWeeks,differenceInCalendarWeeks,getISOWeek,getWeek, andgetISOWeeksInYear.
... (truncated)
Commits
ddb34e0Promote to v3.6.0603aec4Add the CDN guideea6da53Add jsDelivr resolve to package.json5a2afceFix CDN build, add CDN smoke test0356eccAdd CDN versions of modules (#3737)d22be9fFix v3.5.0's change log entrya9bf9e1Fix weeks in Belarisuan formatDistance (#3720)1d78cd1Prepare v3.5.0f0355f1Rebuild lock file (#3733)3d118e2FixconstructNowimport paths (#3734)- Additional commits viewable in compare view
Updates date-fns-tz from 2.0.1 to 3.1.3
Release notes
Sourced from date-fns-tz's releases.
v3.0.0
This release adds support for
date-fnsv3. Thank you@christopherklint97(#265) and everyone who helped test and fix the beta releases.BREAKING CHANGES
date-fnsv2 is no longer supported- Renamed
utcToZonedTimetotoZonedTimeto make the name less confusing, just search & replace- Renamed
zonedTimeToUtctofromZonedTimeto make the name less confusing, just search & replace- All functions are now exported using named exports, this requires changing direct imports from
import formatInTimeZone from 'date-fns-tz/formatInTimeZone'toimport { formatInTimeZone } from 'date-fns-tz/formatInTimeZone'- Functions now don’t check the number of passed arguments, delegating this task to type checkers similar to
date-fnsv3- Arguments are not explicitly converted to the target types; instead, they are passed as is, delegating this task to type checkers similar to
date-fnsv3- IE is no longer supported since
date-fnsno longer supports it- Removed
flowsupport sincedate-fnsalso removed it
Changelog
Sourced from date-fns-tz's changelog.
v3.1.3 (17 April 2024)
- [BUGFIX] Make
getTimeZoneOffset's 2nd arg optionalv3.1.2 (16 April 2024)
- [BUGFIX] Fix
formatInTimeZoneuse oftimeZonestring (#280)v3.1.1 (16 April 2024)
- [BUGFIX]
getTimeZoneOffset's 2nd arg should be optional (#281)v3.1.0 (15 April 2024)
- [REFACTOR] Full rewrite in TypeScript (#278) Thank you,
@brettwillis- [BREAKING CHANGE]
OptionsWithTZis now eitherFormatOptionsWithTZorToDateOptionsWithTZ, matchingdate-fnsv3.0.1 (10 April 2024)
- [BUGFIX] Fix named export typings (#277)
v3.0.0 (6 April 2024)
- [UPGRADE] Support
date-fnsv3 (#265) Thank you,@christopherklint97- [BUGFIX] Correct import of
date-fns@v3format and use Babel Webpack loader for mjs files (#271)- [BREAKING CHANGE]
date-fnsv2 is no longer supported- [BREAKING CHANGE] Renamed
utcToZonedTimetotoZonedTimeto make the name less confusing, just search & replace- [BREAKING CHANGE] Renamed
zonedTimeToUtctofromZonedTimeto make the name less confusing, just search & replace- [BREAKING CHANGE] All functions are now exported using named exports, this requires changing direct imports from
import formatInTimeZone from 'date-fns-tz/formatInTimeZone'toimport { formatInTimeZone } from 'date-fns-tz/formatInTimeZone'- [BREAKING CHANGE] Functions now don’t check the number of passed arguments, delegating this task to type checkers (This isn't fully implemented yet, but it should be the assumption moving forward, as it is in
date-fns)- [BREAKING CHANGE] Arguments are not explicitly converted to the target types. Instead, they are passed as is, delegating this task to type checkers (This isn't fully implemented yet, but it should be the assumption moving forward, as it is in
date-fns)- [BREAKING CHANGE] IE is no longer supported since
date-fnsno longer supports it- [BREAKING CHANGE] Removed
flowsupport sincedate-fnsalso removed it
Commits
00b48b23.1.3c990a94Make getTimezoneOffset 2nd arg optional336ab0b3.1.21181fe6Merge pull request #282 from simPod/getTimeZoneOffsete632f5fMerge pull request #280 from dsun-cp/fix-format-in-timezone-date-string-parsing5d57f29fix: make getTimeZoneOffset's 2nd arg optional vol.2b1ff1623.1.13c5b9abMerge pull request #281 from simPod/getTimeZoneOffsetb669e40fix: make getTimeZoneOffset's 2nd arg optionalb1e1027fix formatInTimeZone incorrectly interpreting the input date string- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.