Skip to content

Commit

Permalink
use local time by default
Browse files Browse the repository at this point in the history
  • Loading branch information
PeronGH committed Sep 7, 2022
1 parent 9bedf74 commit 12d5ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion date.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 12d5ccb

Please sign in to comment.