Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moment.js has been deprecated for a while now. Move to date-fns' formatRelative(), which is almost the same as moment's calendar(). Don't use cockpit's timeformat.js, as (1) we already have a centralized formatting function in c-podman, and (2) timeformat.js currently does not wrap formatRelative().
- Loading branch information
1 parent
e5e8f7c
commit 83b7933
Showing
4 changed files
with
7 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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 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 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 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