Hello All,
This might be a bug.
I want to render a grid row based on whether the expiry date is older then today. To make my life easier, form the server side i'm sending a data in the format YYYYMMDD. There I can simple do a greater or small then procedure.
But I'm come across the following bug.
When I try to format the date using the format function then I get a security violation. When I try to use the Ext.util.Formate.date then nothing happens.
Has anybody had this issue before?
here is how to replicate it.
Create a button and add on-click event:
Code:
var a = new Date();
a.clearTime(true); //doesn't work
var b = new Date();
b.format('Ymd'); //causes secdurity violation
var c = new Date();
Ext.util.Format.date(c,'Ymd');
alert('Date A is: ' + a + ' Date B is:' + a + ' Date C is: + c);
Thanks in advance if anybody has found a work around.
Jack