Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

docs(filters): close parenthesis and remove quote #3250

Closed
wants to merge 1 commit into from

Conversation

brunocoelho
Copy link
Contributor

add a missing closing parenthesis and removing unnecessary quote

add a missing closing parenthesis and removing unnecessary quote
@@ -306,7 +306,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"`).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually this change is incorrect. I think it should be "h 'o''clock'". Since we are "escaping" the single quote in this case.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it makes sense. Thanks.

petebacondarwin pushed a commit that referenced this pull request Jul 17, 2013
Fix closing parenthesis, quotes around string literal and remove
trailing whitespace.

Closes #3250
@petebacondarwin
Copy link
Contributor

Landed with tweaks as c8b54ad and b3c7a6d.
Thanks!

ctrahey pushed a commit to ctrahey/angular.js that referenced this pull request Jul 22, 2013
Fix closing parenthesis, quotes around string literal and remove
trailing whitespace.

Closes angular#3250
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants