Skip to content

Commit c3748ce

Browse files
committed
Fix create day string
1 parent 55a9f2d commit c3748ce

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

site/src/utils/createDayString.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
import dayjs from "dayjs"
2+
import relativeTime from "dayjs/plugin/relativeTime"
3+
4+
dayjs.extend(relativeTime)
25

36
/**
47
* Returns a human-readable string describing the passing of time

0 commit comments

Comments
 (0)