Skip to content

Commit 4b01b74

Browse files
committed
🐛 fix(DOC.md): remove unnecessary dots in the time format to fix incorrect time display
The unnecessary dots in the time format have been removed to fix the incorrect time display.
1 parent 49f0f94 commit 4b01b74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DOC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ const date = new Date('1976-03-20');
248248

249249
const formatted = this.$morphDateFormat(date, 'MMM dd, yyyy');
250250
const year = this.$morphDateFormat(date, 'yyyy');
251-
const time = this.$morphDateFormat(new Date(), 'hh:mm a..aa');
251+
const time = this.$morphDateFormat(new Date(), 'hh:mm a');
252252

253253
console.log(formatted); // Mar 20, 1976
254254
console.log(year); // 1976

0 commit comments

Comments
 (0)