There is a very tiny yet important difference between how Chrome and Firefox treats “Date” object, when you are creating one from a String:
The difference is that Firefox (tested on v23.0.1) considers the passed string is on the local timezone so the output is:
"Fri Mar 14 1980 00:00:00 GMT-0400 (Eastern Standard Time)"
While Chrome, considers the passed string in UTC/GMT timezone and then converts it to a local timezone:
"Thu Mar 13 1980 20:00:00 GMT-0400 (Eastern Daylight Time)"
As you can see, that would be a potential for some Front-End Date/Time processing.
If you are using the Date object just for showing, using the UTC format would be very useful and would avoid any discrepancies.
var my_time = new Date("1980-03-14T00:00:00.0000000");
If you’ve been a web-developer/design for a while, you definitely remember this picture :
FireFox has sort of pushed the web-browsing boundaries and forced all other existing web-browsers and the ones coming in future to be standard, and developers friendly (I’m not talking about IE, which I’m pretty glad I abandoned it since version 7).
I was thinking about the way our lives as developers/designers have changed and how much more we’re enjoying our jobs with out the need to struggle with very basic and dull stuff.