473,587 Members | 2,492 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Opera 9 Summer Time Errors

Computed at <URL:http://www.merlyn.demo n.co.uk/js-datex.htm#OSTby the
code shown above it when using Opera 9.24 :
Test exact dates in two 11-year ranges; IE & FF are OK.
Opera 9.24 shows errors near most/all EU Summer Time steps
outside 1970-2037.

1966-03-27 - Sat, 26 Mar 1966 23:00:00 GMT+0000
1966-10-28 - Thu, 27 Oct 1966 23:00:00 GMT+0000
1967-03-30 - Wed, 29 Mar 1967 23:00:00 GMT+0000
1967-10-27 - Thu, 26 Oct 1967 23:00:00 GMT+0000
1968-10-31 - Wed, 30 Oct 1968 23:00:00 GMT+0000
1969-10-31 - Thu, 30 Oct 1969 23:00:00 GMT+0000

2038-03-31 - Tue, 30 Mar 2038 23:00:00 GMT+0000
2038-10-29 - Thu, 28 Oct 2038 23:00:00 GMT+0000
2039-03-27 - Sat, 26 Mar 2039 23:00:00 GMT+0000
2039-10-28 - Thu, 27 Oct 2039 23:00:00 GMT+0000
2040-03-29 - Wed, 28 Mar 2040 23:00:00 GMT+0000
2041-03-29 - Thu, 28 Mar 2041 23:00:00 GMT+0000
2042-10-31 - Thu, 30 Oct 2042 23:00:00 GMT+0000
Lines containing -show new Date(Y, M, D).toString() for the date which
starts the line. All dates in those years are tested.
It would be interesting to see what happens
in parts of the EU not currently using GMT/UTC,
in Russia,
in North America (with DST),
upside-down (e.g. Australia, where Summer <-Winter),
in Lord Howe Island,
where there are no seasonal clock changes,
in engines other than those of IE, FF, Opera.
Note : that error may not fully explain all I've seen; but it's enough
to show that Opera is weird with some date object operations where
seconds-from-1970.0 is either negative or exceeds signed 32-bit. Can
they be using the integer bitwise operations or other 32-bit code
internally?
<URL:http://www.merlyn.demo n.co.uk/weekcalc.htmhas failures on Opera
9, probably related.
Is anyone here connected with the Opera composers? It needs fixing.
Bug report sent.

--
(c) John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v6.05 IE 6.
Web <URL:http://www.merlyn.demo n.co.uk/- w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demo n.co.uk/programs/- see 00index.htm
Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.
Dec 18 '07 #1
5 1312
In comp.lang.javas cript message <F7************ **@invalid.uk.c o.demon.me
rlyn.invalid>, Tue, 18 Dec 2007 13:42:49, Dr J R Stockton
<jr*@merlyn.dem on.co.ukposted:
>Computed at <URL:http://www.merlyn.demo n.co.uk/js-datex.htm#OSTby the
code shown above it when using Opera 9.24 :
...
>It would be interesting to see what happens
in parts of the EU not currently using GMT/UTC,
in Russia,
in North America (with DST),
upside-down (e.g. Australia, where Summer <-Winter),
in Lord Howe Island,
where there are no seasonal clock changes,
in engines other than those of IE, FF, Opera.
Isn't there anyone here in a position to try that?

--
(c) John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v6.05 IE 6.
Web <URL:http://www.merlyn.demo n.co.uk/- w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demo n.co.uk/programs/- see 00index.htm
Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.
Dec 24 '07 #2
Dr J R Stockton said the following on 12/24/2007 8:52 AM:
In comp.lang.javas cript message <F7************ **@invalid.uk.c o.demon.me
rlyn.invalid>, Tue, 18 Dec 2007 13:42:49, Dr J R Stockton
<jr*@merlyn.dem on.co.ukposted:
>Computed at <URL:http://www.merlyn.demo n.co.uk/js-datex.htm#OSTby the
code shown above it when using Opera 9.24 :
>...
>It would be interesting to see what happens
in parts of the EU not currently using GMT/UTC,
in Russia,
in North America (with DST),
upside-down (e.g. Australia, where Summer <-Winter),
in Lord Howe Island,
where there are no seasonal clock changes,
in engines other than those of IE, FF, Opera.

Isn't there anyone here in a position to try that?
You are in a position to try it. Safari for Windows is free. You know
how to change your local settings to mimic any of the ones you want tested.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Dec 24 '07 #3
In comp.lang.javas cript message <KO************ **@invalid.uk.c o.demon.me
rlyn.invalid>, Mon, 24 Dec 2007 13:52:38, Dr J R Stockton
<jr*@merlyn.dem on.co.ukposted:
>In comp.lang.javas cript message <F7************ **@invalid.uk.c o.demon.me
rlyn.invalid >, Tue, 18 Dec 2007 13:42:49, Dr J R Stockton
<jr*@merlyn.de mon.co.ukposted :
>>Computed at <URL:http://www.merlyn.demo n.co.uk/js-datex.htm#OSTby the
code shown above it when using Opera 9.24 :
>...
>>It would be interesting to see what happens
in parts of the EU not currently using GMT/UTC,
in Russia,
in North America (with DST),
upside-down (e.g. Australia, where Summer <-Winter),
in Lord Howe Island,
where there are no seasonal clock changes,
in engines other than those of IE, FF, Opera.

Isn't there anyone here in a position to try that?
Someone did; thanks, David. No fault shown in the US EST area.

While I am not prepared to fiddle with the clock settings of this
machine, which routinely runs stuff that might be adversely affected, it
eventually occurred to me that I do have access to a machine running
Opera 9.25 without that limitation.

So I've tried all those places, and some others, except for Lord Howe
Island - it's a market that Windows XP seems to ignore - and have found
the effect ONLY with UK-type settings.

Therefore I now particularly ask for confirmation or refutation from the
"Dublin, Edinburgh, Lisbon, London" area, lest there be some peculiarity
in my machines.
Of course, my "UK new Date(Y,M,D) observation suggests that Opera 9.25
contains 32-bit signed seconds arithmetic; the fact that the same wrong
results have not been seen for other locations is no guarantee that
other use of the Opera Date Object elsewhere will not go wrong for that
reason.

In fact, new Date(Date.UTC(2 038, 2, 28))
Opera 9.25 Sun, 28 Mar 2038 01:00:00 GMT+0100
IE 6 Sun Mar 28 00:00:00 UTC 2038
but for 2010, 28 years earlier and therefore matching, they both give
what should be given in the UK. That's a .toString() error; although
the derails of the string are not defined in detail, they should
represent the Real World. That one seems to be EU-wide. Confirm?

--
(c) John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v6.05 IE 6.
Web <URL:http://www.merlyn.demo n.co.uk/- w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demo n.co.uk/programs/- see 00index.htm
Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.
Dec 30 '07 #4
In comp.lang.javas cript message <JO************ **@invalid.uk.c o.demon.me
rlyn.invalid>, Sun, 30 Dec 2007 21:04:40, Dr J R Stockton
<jr*@merlyn.dem on.co.ukposted:
>
In fact, new Date(Date.UTC(2 038, 2, 28))
Opera 9.25 Sun, 28 Mar 2038 01:00:00 GMT+0100
IE 6 Sun Mar 28 00:00:00 UTC 2038
but for 2010, 28 years earlier and therefore matching, they both give
what should be given in the UK. That's a .toString() error; although
the derails of the string are not defined in detail, they should
represent the Real World. That one seems to be EU-wide. Confirm?

Well, although it is an error in .toString(), it seems to be an error
caused either by .toString calling defective .getTimezoneOff set or by
both calling some internal defective routine.

The prime cause of the error shown above is not necessarily identical to
the prime cause of the aforementioned new Date(Y,M,D) error, since the
former seems EU-wide but the latter affects only GB & PT.

--
(c) John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v6.05 IE 6.
Web <URL:http://www.merlyn.demo n.co.uk/- w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demo n.co.uk/programs/- see 00index.htm
Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.
Dec 31 '07 #5
In comp.lang.javas cript message <ci************ **@invalid.uk.c o.demon.me
rlyn.invalid>, Mon, 31 Dec 2007 19:48:43, Dr J R Stockton
<jr*@merlyn.dem on.co.ukposted:
>In comp.lang.javas cript message <JO************ **@invalid.uk.c o.demon.me
rlyn.invalid >, Sun, 30 Dec 2007 21:04:40, Dr J R Stockton
<jr*@merlyn.de mon.co.ukposted :
>>
In fact, new Date(Date.UTC(2 038, 2, 28))
Opera 9.25 Sun, 28 Mar 2038 01:00:00 GMT+0100
IE 6 Sun Mar 28 00:00:00 UTC 2038
but for 2010, 28 years earlier and therefore matching, they both give
what should be given in the UK. That's a .toString() error; although
the derails of the string are not defined in detail, they should
represent the Real World. That one seems to be EU-wide. Confirm?


Well, although it is an error in .toString(), it seems to be an error
caused either by .toString calling defective .getTimezoneOff set or by
both calling some internal defective routine.

The prime cause of the error shown above is not necessarily identical to
the prime cause of the aforementioned new Date(Y,M,D) error, since the
former seems EU-wide but the latter affects only GB & PT.
I am pleased to report that a new test in <URL:http://www.merlyn.demon.
co.uk/js-datex.htmalso shows Opera errors when set to New York time -
function X66 under heading "List Offset Changes", press "Changes"
button. IE, FF are OK.
In that, stepping ms by 864e5 from years 1960 to 2065 usually shows,
outside 1968-2037, four or six clock changes per year.

Sydney 2038 shows 8 changes; likewise Wellington.

--
(c) John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v6.05 IE 6.
Web <URL:http://www.merlyn.demo n.co.uk/- w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demo n.co.uk/programs/- see 00index.htm
Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.
Jan 1 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
4410
by: Matt Kruse | last post by:
See: http://www.mattkruse.com/temp/window_closed.html It looks like the .closed property of a window is inaccessible if the window is actually closed. Other browsers have no problem detecting that the window has been closed. Opera 7.11 and 7.20b7 both throw errors when trying to check the .closed property. Is this a bug in Opera, or do I...
6
2711
by: Shaun Fleming | last post by:
I've been trying to make this simple script compatible across various browsers. It works for IE 6.0 and NS 7 but doesnt work with Opera (I have version 7.11). This is what is supposed to happen: when the user clicks a button in the main window, a dialog window pops up. In the dialog the user enters a university to search for. When the string...
1
2556
by: Volkan Arslan | last post by:
------------------------------------------------------------- LASER Summer School on Software Engineering Practical Techniques of Software Quality Elba, Italy September 12 - 18, 2004 http://se.inf.ethz.ch/laser -------------------------------------------------------------
0
1942
by: Volkan Arslan | last post by:
------------------------------------------------------------- LASER Summer School on Software Engineering Software engineering for concurrent and real-time systems Elba, Italy September 11 - 17, 2005 http://se.inf.ethz.ch/laser -------------------------------------------------------------
6
6661
by: Stefan Mueller | last post by:
After my web page has been loaded I'm doing some tests with a JavaScript. If I figure out that something is wrong I'd like to reload the whole frameset. With Internet Explorer and Mozilla Firefox I can reload the whole frameset with parent.location.href = "index.html"; However, this doesn't work with Opera. Does someone know how to do...
2
1316
by: Mark Rae | last post by:
Hi, I've just finished upgrading a site for a client to XHTML-compliance. It's been tested on the latest versions of the following OS / browser combinations: WinXP - IE WinXP - Netscape WinXP - FireFox WinXP -Opera
2
1817
by: ojorus | last post by:
Hi! A simple question maybe... I have a datetime column in a table, and want to automaticly insert local (Norwegian) time into the column. (I use PHP 5) I can not use NOW() since the mysql server is set up with a different time zone. So now i use UTC_TIMESTAMP() + INTERVAL 2 HOUR, which give me the right time now. BUT a problem will occur...
1
1129
by: Dr J R Stockton | last post by:
Try for (j=0; j<10; j++) document.writeln(J, " ", new Date(2001, 0, 13600+J), "<br>") in Opera. I found this with code covering in effect from j=0 and going higher. After the year 2037, one error of one hour occurs near most Summer Time transitions. Foreigners may well find differences.
0
7849
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8215
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8347
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6626
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5394
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2358
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1454
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1189
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.