PDA

View Full Version : [CLOSED] Date Problem



rthiney
Nov 27, 2012, 12:12 AM
I have javascript:

var date="2011-01-01T00:00:00";
Ext.util.Format.date(date, 'F Y'); <-- this returns December 2010 ????

Baidaly
Nov 27, 2012, 12:36 AM
Hello!

Sorry, but we couldn't reproduce your problem. 5186

Can you say your browser, browser version and Ext.NET version?

http://forums.ext.net/showthread.php?3440
http://forums.ext.net/showthread.php?10205

rthiney
Nov 27, 2012, 4:11 AM
Hello!

Sorry, but we couldn't reproduce your problem. 5186

Can you say your browser, browser version and Ext.NET version?

http://forums.ext.net/showthread.php?3440
http://forums.ext.net/showthread.php?10205

Chrome, Version 23.0.1271.64 m, Ext 2.0

Baidaly
Nov 27, 2012, 4:45 AM
Try this one:


var date="2011-01-01T00:00:00";
Ext.util.Format.date(Ext.Date.parse(date, 'c'), 'F Y');