diff --git a/date.ts b/date.ts index 17cd617..a2fa259 100644 --- a/date.ts +++ b/date.ts @@ -24,7 +24,7 @@ const pad = (n: number) => (n < 10 ? `0${n}` : `${n}`); function formatDate( args: number[] = [], - outputType = 'utc', + outputType = 'local', inputType = 'local' ) { if (Array.isArray(args) && args.length === 3) {