@@ -245,7 +245,7 @@ var DATE_FORMATS = {
245
245
m : dateGetter ( 'Minutes' , 1 ) ,
246
246
ss : dateGetter ( 'Seconds' , 2 ) ,
247
247
s : dateGetter ( 'Seconds' , 1 ) ,
248
- // while ISO 8601 requires fractions to be prefixed with `.` or `,`
248
+ // while ISO 8601 requires fractions to be prefixed with `.` or `,`
249
249
// we can be just safely rely on using `sss` since we currently don't support single or two digit fractions
250
250
sss : dateGetter ( 'Milliseconds' , 3 ) ,
251
251
EEEE : dateStrGetter ( 'Day' ) ,
@@ -298,15 +298,15 @@ var DATE_FORMATS_SPLIT = /((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+
298
298
* * `'short'`: equivalent to `'M/d/yy h:mm a'` for en_US locale (e.g. 9/3/10 12:05 pm)
299
299
* * `'fullDate'`: equivalent to `'EEEE, MMMM d,y'` for en_US locale
300
300
* (e.g. Friday, September 3, 2010)
301
- * * `'longDate'`: equivalent to `'MMMM d, y'` for en_US locale (e.g. September 3, 2010
301
+ * * `'longDate'`: equivalent to `'MMMM d, y'` for en_US locale (e.g. September 3, 2010)
302
302
* * `'mediumDate'`: equivalent to `'MMM d, y'` for en_US locale (e.g. Sep 3, 2010)
303
303
* * `'shortDate'`: equivalent to `'M/d/yy'` for en_US locale (e.g. 9/3/10)
304
304
* * `'mediumTime'`: equivalent to `'h:mm:ss a'` for en_US locale (e.g. 12:05:08 pm)
305
305
* * `'shortTime'`: equivalent to `'h:mm a'` for en_US locale (e.g. 12:05 pm)
306
306
*
307
307
* `format` string can contain literal values. These need to be quoted with single quotes (e.g.
308
308
* `"h 'in the morning'"`). In order to output single quote, use two single quotes in a sequence
309
- * (e.g. `"h o''clock"`).
309
+ * (e.g. `"h ' o''clock' "`).
310
310
*
311
311
* @param {(Date|number|string) } date Date to format either as Date object, milliseconds (string or
312
312
* number) or various ISO 8601 datetime string formats (e.g. yyyy-MM-ddTHH:mm:ss.SSSZ and its
0 commit comments