2009/10/3 Stefan Schulz <[email protected]>: > > >> The version of PHP running on that server doesn't have an up to date >> time zone database (remember, New Zealand's DST start/end times were >> changed recently). You can either upgrade your PHP version or install >> the PECL timezonedb extension. >> > You are all correct - I knew I had overlooked the obvious... > > BUT > It seems that Ubuntu has ditched the feisty archives - no easy upgrade.
Indeed - Feisty is somewhat old - from experience installing from scratch will be less painful. > This box is going to be updated to the latest version and a new hardware > hopefully within a few weeks, so I thought rightyho I simply set the > timezone temporarily to GMT+13. > Any idea why this does not change anything? > Even better: No matter what I put into the date_default_timezone_set() Did you check the return value? (It's false if you supply an unknown timezone - a quick scan of the supported timezones does not include a "GMT+13" timezone. > call or the default timezone setting in php.ini the program's output > does not change a bit? I suspect that the ini setting is being ignored for the same reason as the function call - is there any mention of invalid timezone in the logfiles? --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
