mirror of
https://github.com/skidoodle/albert.lol.git
synced 2025-02-15 06:09:15 +01:00
🔥
This commit is contained in:
parent
4ef7a49d93
commit
3c18df552d
13 changed files with 227 additions and 198 deletions
9
components/dayjs.tsx
Normal file
9
components/dayjs.tsx
Normal file
|
@ -0,0 +1,9 @@
|
|||
import dayjs from 'dayjs'
|
||||
import utc from 'dayjs/plugin/utc'
|
||||
import timezone from 'dayjs/plugin/timezone'
|
||||
|
||||
dayjs.extend(utc)
|
||||
dayjs.extend(timezone)
|
||||
dayjs.tz.setDefault('Europe/Budapest')
|
||||
|
||||
export { dayjs }
|
Loading…
Add table
Add a link
Reference in a new issue