Skip to content

Commit

Permalink
fix: test rollbacking times.js
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-mulier-p committed Jun 20, 2024
1 parent 3488f83 commit 159b11d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions utils/times.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import * as _dayjs from 'dayjs';

import dayjs from "dayjs";
import RelativeTime from "dayjs/plugin/relativeTime.js";
import UpdateLocale from "dayjs/plugin/updateLocale.js";

let dayjs = _dayjs;

dayjs = dayjs.extend(RelativeTime);
dayjs = dayjs.extend(UpdateLocale)
dayjs.extend(RelativeTime);
dayjs.extend(UpdateLocale)

dayjs.updateLocale('en', {
relativeTime: {
Expand Down

0 comments on commit 159b11d

Please sign in to comment.