We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dea9de commit 72e4654Copy full SHA for 72e4654
src/filters.js
@@ -365,7 +365,7 @@ var NUMBER_STRING = /^\d+$/;
365
<doc:scenario>
366
it('should format date', function(){
367
expect(binding("1288323623006 | date:'medium'")).
368
- toMatch(/Oct 2\d, 2010 \d{1,2}:\d{2}:\d{2} pm/);
+ toMatch(/Oct 2\d, 2010 \d{1,2}:\d{2}:\d{2} (am|pm)/);
369
expect(binding("1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'")).
370
toMatch(/2010\-10\-2\d \d{2}:\d{2}:\d{2} \-?\d{4}/);
371
expect(binding("'1288323623006' | date:'MM/dd/yyyy @ h:mma'")).
0 commit comments