Skip to content

Commit 01c4a7e

Browse files
committed
fix date format
1 parent c581ad7 commit 01c4a7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dateUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export function formatIfDate(string) {
4848
return d.format(getUserDateTimeFormat());
4949
}
5050

51-
d = moment(string, 'YYYY-MM-DDD', true);
51+
d = moment(string, 'YYYY-MM-DD', true);
5252
if (d.isValid()) {
5353
return d.format(getUserDateFormat());
5454
}

0 commit comments

Comments
 (0)