From: <mo...@us...> - 2007-02-04 21:38:41
|
Update of /cvsroot/tikiwiki/tiki/lib/sheet In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12165/lib/sheet Modified Files: ole.php Log Message: [MOD] timezones: rollback of last commit about timezones. Idea is good but spreading timestamp manipulation makes erratic border effects and makes impossible to display timezone properly with date functions. Please hold commits for some hours, calendar rolledback code will be committed back, as well as some other parts, as there were some nice fixes anyway Index: ole.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/lib/sheet/ole.php,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- ole.php 4 Feb 2007 01:43:58 -0000 1.5 +++ ole.php 4 Feb 2007 20:09:42 -0000 1.6 @@ -339,8 +339,8 @@ // days from 1-1-1601 until the beggining of UNIX era $days = 134774; // calculate seconds - $big_date = $days*24*3600 + gmmktime(gmdate("H",$date),gmdate("i",$date),gmdate("s",$date), - gmdate("m",$date),gmdate("d",$date),gmdate("Y",$date)); + $big_date = $days*24*3600 + gmmktime(date("H",$date),date("i",$date),date("s",$date), + date("m",$date),date("d",$date),date("Y",$date)); // multiply just to make MS happy $big_date *= 10000000; |