From b19a460db02185e00873db4833d484f5d43250d4 Mon Sep 17 00:00:00 2001 From: Wesley Cho Date: Sun, 22 Nov 2015 12:49:13 -0800 Subject: [PATCH] docs(dateparser): add docs about template literals - Adds documentation about template literals --- src/dateparser/docs/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dateparser/docs/README.md b/src/dateparser/docs/README.md index 56003eae5a..8123c716ff 100644 --- a/src/dateparser/docs/README.md +++ b/src/dateparser/docs/README.md @@ -140,3 +140,5 @@ Certain format codes support i18n. Check this [guide](https://docs.angularjs.org \* The ones marked with `Leading 0`, needs a leading 0 for values less than 10. Exception being milliseconds which needs it for values under 100. \** It also supports `fullDate|longDate|medium|mediumDate|mediumTime|short|shortDate|shortTime` as the format for parsing. + +\*** It supports template literals as a string between the single quote `'` character, i.e. `'The Date is' MM/DD/YYYY`. If one wants the literal single quote character, one must type `''''`, i. e. `o''''clock` for `o'clock`