[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing :: View topic - Java time off by 30 minutes
Cheshire Cat Computing
https://steveshipway.org/forum/

Java time off by 30 minutes
https://steveshipway.org/forum/viewtopic.php?f=2&t=1669
Page 1 of 1

Author:  udaman0000 [ Thu Nov 06, 2008 4:16 am ]
Post subject:  Java time off by 30 minutes

I am running v2.19 on Windows

The java-popup time is off on my graphs by exactly 30 minutes, but only when I use Internet Explorer v7.
If I use firefox, the time is correct.

Any ideas?

Author:  stevesh [ Thu Nov 06, 2008 11:19 am ]
Post subject:  Re: Java time off by 30 minutes

Argh. This is Microsoft's implementation of Javascript.

The time popup has to correct for the timezone of the browser, as it relies on the Javascript library to convert epoch time (how MRTG/RRD/Routers2 work internally) to human-readable time, in the timezone of the Target rather than the timezone of the client browser. Unfortunately these things dont always work.

There are occasionally problems with out of date Javascript libraries which have the wrong timezone settings (last year many countries changed their summer time rules).

The generated code is identical for IE and FF; the only difference is a slight rule change on how javascript sets the popup options. The code to calculate the time is the same. This puts the error firmly on the shoulders of MS, although that doesnt help you much. The only hack would be to make a browser-dependent time offset kludge in the generated javascript, but even that is not ideal as I use IE7 here and it works for me :( (I test with firefox, IE6, IE7, and Avant Browser)

Can you check that your workstation timezone and local clock are set correctly?

Author:  udaman0000 [ Fri Nov 07, 2008 9:37 am ]
Post subject:  Re: Java time off by 30 minutes

Timezone and time are correct on my pc.
Same workstation:
IE7 : 30 minutes +
FF : correct time

Author:  stevesh [ Fri Nov 07, 2008 10:44 am ]
Post subject:  Re: Java time off by 30 minutes

This is weird behaviour Ive not experienced before.

Can you tell me which timezone you are in? Possibly your timezone definition is incorrect in the IE javascript library? Can you make sure you've installed the latest patch for IE7? I've got v7.0.5730.13 here for testing under IE7 and it works correctly in our timezone.

Author:  trikom [ Fri Jun 12, 2009 5:53 am ]
Post subject:  Re: Java time off by 30 minutes

Hi Steve,

I have the same strange offset in IE7 (IE 7.0.5730.13).
So I've uncommented the debugging line for timezone calculations and the timezone (UTC+1) works correct

Regards,
Jan

Page 1 of 1 All times are UTC + 12 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/