Prev: FAQ Topic - How do I format a Date object with javascript? (2010-03-28)
Next: Cheap Wholesale Timberland Shoes Puma Paul Smith Converse Shoes etc Free shipping (www.vipchinatrade.com)
From: Dr J R Stockton on 28 Mar 2010 13:49 The accustomed error with Summer Time in the UK on Opera up to 10.10 has been replaced in Opera 10.51 with a different error concerning offset from GMT and affecting current years : new Date("2010/03/28").getTimezoneOffset() -> -59.99998333333333 +new Date(1970, 0, 1) -> -3599999 Also : new Date() + " " + new Date() -> two numbers (ms from end 1969 GMT) I also find a problem with canvas. And toPrecision is still wrong. Opera notified, via Help. More details if/when known. On the other hand, while that PC is still apparently booting & running, the screen or its driver has died totally. Note crosspost. -- (c) John Stockton, nr London, UK. ?@merlyn.demon.co.uk Turnpike v6.05. Web <URL:http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms PAS EXE etc : <URL:http://www.merlyn.demon.co.uk/programs/> - see 00index.htm Dates - miscdate.htm estrdate.htm js-dates.htm pas-time.htm critdate.htm etc.
From: Dr J R Stockton on 2 Apr 2010 14:32
In opera.general message <W9xliZBga5rLFweg(a)invalid.uk.co.demon.merlyn.in valid>, Sun, 28 Mar 2010 18:49:20, Dr J R Stockton <reply1012(a)merlyn.demon.co.uk> posted: > >The accustomed error with Summer Time in the UK on Opera up to 10.10 has >been replaced in Opera 10.51 with a different error concerning offset >from GMT and affecting current years : > > new Date("2010/03/28").getTimezoneOffset() -> -59.99998333333333 > > +new Date(1970, 0, 1) -> -3599999 Such an error is also seen in Bulgaria, so it seems to me likely that it appears at least everywhere in the Northern Hemisphere with Summer Time. It's a good idea to read the newsgroup c.l.j and its FAQ. See below. -- (c) John Stockton, nr London UK. ?@merlyn.demon.co.uk IE8 FF3 Op10 Sf4 Cr4 news:comp.lang.javascript FAQ <URL:http://www.jibbering.com/faq/index.html>. <URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources. <URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links. |