Skip to content

Commit 0ab09bc

Browse files
committed
Update documentation of formatWithoutLocale
1 parent 34b5447 commit 0ab09bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/datetime/formatWithoutLocale.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,9 @@ export interface FormatWithoutLocaleOptions {
302302
* If you are 100% sure what you are doing and want to format numeric date info of non-ISO date intentionally,
303303
* pass `formatNonIsoDate` option.
304304
*
305+
* Characters between two single quotes (`'`) in the format are escaped.
306+
* Two consecutive single quotes (`''`) in the format always represents one single quote (`'`).
307+
*
305308
* Available field patterns are subset of date field symbols in Unicode CLDR,
306309
* see https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table for details.
307310
*

0 commit comments

Comments
 (0)