Skip to content

Commit

Permalink
Bump date-fns from 2.30.0 to 3.0.3
Browse files Browse the repository at this point in the history
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.30.0 to 3.0.3.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/main/CHANGELOG.md)
- [Commits](date-fns/date-fns@v2.30.0...v3.0.3)

---
updated-dependencies:
- dependency-name: date-fns
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Updated by Martin Pitt: Fix date-fns/locale import.
  • Loading branch information
dependabot[bot] authored and martinpitt committed Dec 21, 2023
1 parent 3adbf3f commit 44d0ff2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion node_modules
Submodule node_modules updated 9990 files
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@patternfly/react-styles": "5.1.2",
"@patternfly/react-table": "5.1.2",
"@patternfly/react-tokens": "5.1.2",
"date-fns": "2.30.0",
"date-fns": "3.0.3",
"docker-names": "1.2.1",
"ipaddr.js": "2.1.0",
"prop-types": "15.8.1",
Expand Down
2 changes: 1 addition & 1 deletion src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React, { useContext } from "react";
import cockpit from 'cockpit';

import { debounce } from 'throttle-debounce';
import * as dfnlocales from 'date-fns/locale/index.js';
import * as dfnlocales from 'date-fns/locale';
import { formatRelative } from 'date-fns';
const _ = cockpit.gettext;

Expand Down

0 comments on commit 44d0ff2

Please sign in to comment.