473,413 Members | 1,767 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

Opera 9 Summer Time Errors

Computed at <URL:http://www.merlyn.demon.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.demon.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.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 moredate.htm js-dates.htm pas-time.htm critdate.htm etc.
Dec 18 '07 #1
5 1300
In comp.lang.javascript message <F7**************@invalid.uk.co.demon.me
rlyn.invalid>, Tue, 18 Dec 2007 13:42:49, Dr J R Stockton
<jr*@merlyn.demon.co.ukposted:
>Computed at <URL:http://www.merlyn.demon.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.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 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.javascript message <F7**************@invalid.uk.co.demon.me
rlyn.invalid>, Tue, 18 Dec 2007 13:42:49, Dr J R Stockton
<jr*@merlyn.demon.co.ukposted:
>Computed at <URL:http://www.merlyn.demon.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.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Dec 24 '07 #3
In comp.lang.javascript message <KO**************@invalid.uk.co.demon.me
rlyn.invalid>, Mon, 24 Dec 2007 13:52:38, Dr J R Stockton
<jr*@merlyn.demon.co.ukposted:
>In comp.lang.javascript message <F7**************@invalid.uk.co.demon.me
rlyn.invalid>, Tue, 18 Dec 2007 13:42:49, Dr J R Stockton
<jr*@merlyn.demon.co.ukposted:
>>Computed at <URL:http://www.merlyn.demon.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(2038, 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.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 moredate.htm js-dates.htm pas-time.htm critdate.htm etc.
Dec 30 '07 #4
In comp.lang.javascript message <JO**************@invalid.uk.co.demon.me
rlyn.invalid>, Sun, 30 Dec 2007 21:04:40, Dr J R Stockton
<jr*@merlyn.demon.co.ukposted:
>
In fact, new Date(Date.UTC(2038, 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 .getTimezoneOffset 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.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 moredate.htm js-dates.htm pas-time.htm critdate.htm etc.
Dec 31 '07 #5
In comp.lang.javascript message <ci**************@invalid.uk.co.demon.me
rlyn.invalid>, Mon, 31 Dec 2007 19:48:43, Dr J R Stockton
<jr*@merlyn.demon.co.ukposted:
>In comp.lang.javascript message <JO**************@invalid.uk.co.demon.me
rlyn.invalid>, Sun, 30 Dec 2007 21:04:40, Dr J R Stockton
<jr*@merlyn.demon.co.ukposted:
>>
In fact, new Date(Date.UTC(2038, 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 .getTimezoneOffset 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.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 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
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...
6
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:...
1
by: Volkan Arslan | last post by:
------------------------------------------------------------- LASER Summer School on Software Engineering Practical Techniques of Software Quality Elba, Italy September 12 - 18, 2004 ...
0
by: Volkan Arslan | last post by:
------------------------------------------------------------- LASER Summer School on Software Engineering Software engineering for concurrent and real-time systems Elba, Italy September 11 -...
6
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...
2
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...
2
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...
1
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,...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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...

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.