Skip to content

Commit

Permalink
date-fns package has broken date-fns-tz package
Browse files Browse the repository at this point in the history
The version of date-fns we're using is v2.3, and it's been upgraded to v3 with breaking changes.

I've pinned the current version we are using at v2.3 until this gets merged marnusw/date-fns-tz#265
  • Loading branch information
richrace committed Jan 5, 2024
1 parent 3118c16 commit 7cf26c0
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 59 deletions.
2 changes: 1 addition & 1 deletion .ncurc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const semver = new RegExp(
- next
- 13.4.13 causes failures with fetch
*/
const pinned = ["styled-components", "govuk-frontend"]
const pinned = ["styled-components", "govuk-frontend", "date-fns"]
const ignored = []
const skipped = [{ package: "next", version: "13.4.13" }]

Expand Down
75 changes: 18 additions & 57 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"cookie-signature": "^1.2.1",
"cookies-next": "^4.1.0",
"csrf": "^3.1.0",
"date-fns": "^3.0.6",
"date-fns": "^2.3.0",
"date-fns-tz": "^2.0.0",
"date-time-format-timezone": "^1.0.22",
"downshift": "^8.3.1",
Expand Down

0 comments on commit 7cf26c0

Please sign in to comment.