Skip to content

Commit 12d5ccb

Browse files
committed
use local time by default
1 parent 9bedf74 commit 12d5ccb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

date.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const pad = (n: number) => (n < 10 ? `0${n}` : `${n}`);
2424

2525
function formatDate(
2626
args: number[] = [],
27-
outputType = 'utc',
27+
outputType = 'local',
2828
inputType = 'local'
2929
) {
3030
if (Array.isArray(args) && args.length === 3) {

0 commit comments

Comments
 (0)