Skip to content

Commit

Permalink
feat: add dateTime.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
andre8244 committed Feb 22, 2024
1 parent 1de66db commit 433fbce
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
19 changes: 19 additions & 0 deletions package-lock.json

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

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@
"@fortawesome/vue-fontawesome": "^3.0.5",
"@headlessui/vue": "^1.7.16",
"@vueuse/core": "^10.7.0",
"date-fns": "^3.3.1",
"date-fns-tz": "^2.0.0",
"lodash-es": "^4.17.21",
"uuid": "^9.0.1",
"vue": "^3.3.4",
Expand Down
7 changes: 7 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,10 @@ export {
byteFormat1000,
kbpsFormat
} from '@/lib/utils'
export {
formatDateLoc,
formatInTimeZoneLoc,
getDateFnsLocale,
formatDurationLoc,
humanDistanceToNowLoc
} from '@/lib/dateTime'

0 comments on commit 433fbce

Please sign in to comment.