File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -393,7 +393,9 @@ var DATE_FORMATS_SPLIT = /((?:[^yMdHhmsaZEw']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d
393
393
* specified in the string input, the time is considered to be in the local timezone.
394
394
* @param {string= } format Formatting rules (see Description). If not specified,
395
395
* `mediumDate` is used.
396
- * @param {string= } timezone Timezone to be used for formatting. Right now, only `'UTC'` is supported.
396
+ * @param {string= } timezone Timezone to be used for formatting. It understands UTC/GMT and the
397
+ * continental US time zone abbreviations, but for general use, use a time zone offset, for
398
+ * example, `'+0430'` (4 hours, 30 minutes east of the Greenwich meridian)
397
399
* If not specified, the timezone of the browser will be used.
398
400
* @returns {string } Formatted string or the input if input is not recognized as date/millis.
399
401
*
You can’t perform that action at this time.
0 commit comments