defacer 28c66824e7 Fixing two bugs:
1. When user was using "Server's local time", and the server was set up to
   use DST, generated timestamps must have been wrong in DST periods (I
   haven't backtracked to test this, but the code reads this way).

2. On Eloy's Mac (let's not generalize without data), passing is_dst = 0 to
   gmmktime caused it to return WRONG results!

   The PHP docs clearly state that in_dst does NOT affect the return value,
   which is true for me but in Eloy's case it was a lie. Obviously PHP bug here.

Also, moved the if($applydst) check into the else branch because it would do
nothing at all if (abs($timezone) > 13) in any case.


I hope Eloy keeps finding more bugs because he promised me a beer for this fix ;-)
2005-05-01 16:50:35 +00:00
..
2005-03-15 13:07:44 +00:00
2005-02-06 19:23:32 +00:00
2005-01-22 10:58:25 +00:00
2005-04-26 15:51:31 +00:00
2004-05-08 14:02:18 +00:00
2004-03-20 04:08:19 +00:00
2004-09-12 13:21:01 +00:00
2004-01-23 08:40:29 +00:00
2005-05-01 16:50:35 +00:00
2004-09-26 04:54:03 +00:00
2004-09-12 13:21:01 +00:00
2005-04-10 09:33:05 +00:00
2005-03-07 11:53:00 +00:00
2005-04-24 04:13:18 +00:00
2005-03-01 08:45:05 +00:00
2002-08-12 07:44:53 +00:00