This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -294,15 +294,15 @@ var DATE_FORMATS_SPLIT = /((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+
294
294
* * `'short'`: equivalent to `'M/d/yy h:mm a'` for en_US locale (e.g. 9/3/10 12:05 pm)
295
295
* * `'fullDate'`: equivalent to `'EEEE, MMMM d,y'` for en_US locale
296
296
* (e.g. Friday, September 3, 2010)
297
- * * `'longDate'`: equivalent to `'MMMM d, y'` for en_US locale (e.g. September 3, 2010
297
+ * * `'longDate'`: equivalent to `'MMMM d, y'` for en_US locale (e.g. September 3, 2010)
298
298
* * `'mediumDate'`: equivalent to `'MMM d, y'` for en_US locale (e.g. Sep 3, 2010)
299
299
* * `'shortDate'`: equivalent to `'M/d/yy'` for en_US locale (e.g. 9/3/10)
300
300
* * `'mediumTime'`: equivalent to `'h:mm:ss a'` for en_US locale (e.g. 12:05:08 pm)
301
301
* * `'shortTime'`: equivalent to `'h:mm a'` for en_US locale (e.g. 12:05 pm)
302
302
*
303
303
* `format` string can contain literal values. These need to be quoted with single quotes (e.g.
304
304
* `"h 'in the morning'"`). In order to output single quote, use two single quotes in a sequence
305
- * (e.g. `"h o''clock"`).
305
+ * (e.g. `"h ' o''clock' "`).
306
306
*
307
307
* @param {(Date|number|string) } date Date to format either as Date object, milliseconds (string or
308
308
* number) or various ISO 8601 datetime string formats (e.g. yyyy-MM-ddTHH:mm:ss.SSSZ and its
You can’t perform that action at this time.
0 commit comments