aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Coelho2013-07-16 20:09:31 -0300
committerPete Bacon Darwin2013-07-17 11:28:01 +0100
commitb3c7a6d5664f8c95f7de0779dc54f23d2809f30c (patch)
tree6ca51c5a173778db4704c03309ba913478eae424
parent424bd49edeea99d1592e84b8da212946804db67c (diff)
downloadangular.js-b3c7a6d5664f8c95f7de0779dc54f23d2809f30c.tar.bz2
docs(dateFilter): fix typos
Fix closing parenthesis, quotes around string literal and remove trailing whitespace. Closes #3250
-rw-r--r--src/ng/filter/filters.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ng/filter/filters.js b/src/ng/filter/filters.js
index 00fb3c4a..a3c38014 100644
--- a/src/ng/filter/filters.js
+++ b/src/ng/filter/filters.js
@@ -294,7 +294,7 @@ var DATE_FORMATS_SPLIT = /((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+
* * `'short'`: equivalent to `'M/d/yy h:mm a'` for en_US locale (e.g. 9/3/10 12:05 pm)
* * `'fullDate'`: equivalent to `'EEEE, MMMM d,y'` for en_US locale
* (e.g. Friday, September 3, 2010)
- * * `'longDate'`: equivalent to `'MMMM d, y'` for en_US locale (e.g. September 3, 2010
+ * * `'longDate'`: equivalent to `'MMMM d, y'` for en_US locale (e.g. September 3, 2010)
* * `'mediumDate'`: equivalent to `'MMM d, y'` for en_US locale (e.g. Sep 3, 2010)
* * `'shortDate'`: equivalent to `'M/d/yy'` for en_US locale (e.g. 9/3/10)
* * `'mediumTime'`: equivalent to `'h:mm:ss a'` for en_US locale (e.g. 12:05:08 pm)
@@ -302,7 +302,7 @@ var DATE_FORMATS_SPLIT = /((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+
*
* `format` string can contain literal values. These need to be quoted with single quotes (e.g.
* `"h 'in the morning'"`). In order to output single quote, use two single quotes in a sequence
- * (e.g. `"h o''clock"`).
+ * (e.g. `"h 'o''clock'"`).
*
* @param {(Date|number|string)} date Date to format either as Date object, milliseconds (string or
* number) or various ISO 8601 datetime string formats (e.g. yyyy-MM-ddTHH:mm:ss.SSSZ and its