You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to a user report the following does not work in Firefox.
I suspect that we simply call to JS' fromString routine which behaves differently in the Chrome and FF case. Needs investigation, though.
===
String test = "2011-12-29 00:02:16";
Date finishTime = new Date.fromString(test);
print("${finishTime.month}/${finishTime.day}/${finishTime.year}");
According to a user report the following does not work in Firefox.
I suspect that we simply call to JS' fromString routine which behaves differently in the Chrome and FF case. Needs investigation, though.
===
String test = "2011-12-29 00:02:16";
Date finishTime = new Date.fromString(test);
print("${finishTime.month}/${finishTime.day}/${finishTime.year}");
prints 12/29/2011 in Chrome but returns Invalid Date in Firefox?
http://try.dartlang.org/s/wQgq
The text was updated successfully, but these errors were encountered: