|
Login/Signup | |
| Location: Home » Date() Bug: BST Incorrect | Advertise | |
Date() Problems - BST Problem is ON |
||
|
|
||
Testing BST Problems - Problem is ONIf you look below, right (“Top Ten Pages Today”) you will see a print-out of the current time on the server. This string includes ‘+0000’ indicating that British Summer Time is OFF on the server (for this page script). Look now at bstoff.php and the same string (may have) become ‘+0100’, indicating that just one line of Date() code has switched BST off for this page (this obviously only happens during the Summer months). Program code causing the problem:This is the only code on this page (all other code is within common include-files): require_once('Date.php');
For the record, $todayDST := “$today has dst switched OFF”, which is deeply ironic, in view of what date('r') is reporting on the right.
Date.php: $Id: Date.php,v 1.35 2005/11/15 00:16:38 pajoye Exp $ A longer explanation of this is at the 12 April, 2004 Diary page. The bug has been reported by email to the module writer and also on the PEAR bug-report page. Copyright Statement
Compilation, original writings & design Copyright ©2002 - 2008 Modem-Help, Ltd. |
SearchesQuick StatsItems available:
Top Ten Pages..from 29,922,500 pages since 10 Nov 2002.Top Ten Pages Today
at Fri, 09 Jan 2009 01:32:34 +0000. Latest Additions
Top Ten Modems
Site Info, History & Page StatsThese pages are a LAMP-development of the original Modem-Help, UK site (most of the old HTML pages still exist, but havn’t been updated for quite some time). That site, in it’s turn, was a transfer from the first html site on free-pages at Freeserve (sadly, now gone). The current format allows superb search facilities, customisation by Registered members, plus is quick ‘n’ easy to update. Diligently put together in the UK by Alex Kemp. All efforts have been taken to ensure the veracity of what is written - if you know of any errors or omissions then please let us know.
Privacy Policy Page Compression: 73% at level 7
1,616 views of this page (0.05 secs to produce). |
|