Last active
February 11, 2025 10:32
This file contains hidden or 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
import { TZDate } from 'npm:@date-fns/tz'; | |
import { UTCDate } from "npm:@date-fns/utc"; | |
import * as DF from 'npm:date-fns'; | |
console.log('Use `TZDate` or `UTCDate` for date construction. All `date-fn` utilities are available in `DF` (e.g. `DF.format()`)'); | |
console.log('TZCDate: https://github.com/date-fns/tz'); | |
console.log('UTCDate: https://github.com/date-fns/utc'); | |
console.log('`date-fn` utilities: https://date-fns.org/docs/Getting-Started'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Getting Started
deno repl --eval-file="https://gist.githubusercontent.com/jihchi/1c673092c80e9d3e7c4c365b20c2b29a/raw/datefns.ts"