Details
Description
We have custom timezone handling code in Moodle versions 1.5 to 1.7. This was put in place to work around
- A long-standing bug in PHP on Windows 95/98/Me where TZ info was missing and the TZ calls did not return an error. This was considered a critical problem. This bug did not apply to WindowsNT/2000 AFAIK.
- Possibly outdated TZ info in all platforms. This is a minor issue.
This naturally affected all PHP-based projects. From PHP5 onwards, PECL's timezonedb (see http://php.net/manual/en/ref.datetime.php ) addresses both problems.
Moodle 1.8 is expected to require PHP5 so we can drop this nasty kludge.
Attachments
Issue Links
- duplicates
-
MDL-49684 Replace custom Moodle timezone stuff with standard PHP date/time code
-
- Closed
-
- has been marked as being related by
-
MDL-6795 Stats never runs. stats_monthly table gets very full
-
- Closed
-
- will be (partly) resolved by
-
MDL-7275 META BUG: Change minimum required PHP version to PHP 5
-
- Closed
-