TODAY IS: 12 of August of 2008, but
var fecha=new Date();
document.writeln(fecha.toDateString()); // Wed Aug 13 2008
document.writeln(fecha.toLocaleDateString()); // 13/08/2008
document.writeln(fecha.toLocaleString()); // miť 13 ago 2008 19:15:14 VET
document.writeln(fecha.toLocaleTimeString()); // 19:15:14: this is OK
document.writeln(fecha.toString()); // Wed Aug 13 2008 19:15:14 GMT+1930 (VET): It should be GMT-0430
document.writeln(fecha.toTimeString()); // 19:15:14 GMT+1930 (VET): The time is OK, but GMT+1930
NOTE: It is OK in FF & IE in WXP.
Can anybody give a help?
Thatś the problem because when I executed 'date -R' on the command line at Ubuntu, I got:
Thu, 14 Aug 2008 23:27:27 -0430
There, we can see -0430 and the right date.
My guess is the os or ff has some type of setting for multiple timezones.
It's also pretty possible the young ff3 for ubuntu has a bug.