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

Date filter default format inconsistant across browsers #605

Closed
rur opened this issue Oct 18, 2011 · 1 comment · Fixed by #607
Closed

Date filter default format inconsistant across browsers #605

rur opened this issue Oct 18, 2011 · 1 comment · Fixed by #607

Comments

@rur
Copy link

rur commented Oct 18, 2011

Seems the default format for the date filter is not the same on every browser. If you don't specify the format as a parameter to the date filter function it has a different output on different browsers.

From the browsers I'm testing with, I'm getting the following:

Firefox 3.6.23 Windows:
'08 December 2011'

Microsoft Internet Explorer 8.0 Windows:
'Thursday, December 08, 2011'

Microsoft Internet Explorer 7.0 Windows:
'Thursday, December 08, 2011'

Firefox 7.0.1 Mac OS:
'12/08/2011'

Chrome 14.0.835.202 Mac OS:
'Thursday, December 08, 2011'

JS Fiddle here: http://jsfiddle.net/rur_d/sTxRN/

@IgorMinar
Copy link
Contributor

btw wouldn't a better choice for the default format be mediumDate rather than fullDate?

I think would prefer Sep 3, 2010 over Friday, September 3, 2010. Thoughts?

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 a pull request may close this issue.

2 participants