Testing the beta1 release on CentOS5 (php 5.1.6) fails with the following in my apache logs:
PHP Fatal error: Class 'DateTimeZone' not found in /usr/share/hastymail2/lib/utility_classes.php on line 1183
This occurs regardless of the setting of "site_default_timezone".
(BTW, I'm the guy who promised to contribute an RPM and this appears to be the only issue preventing me from providing you with something to review/test.)
Looks like this is a PHP 5.2 feature.
Index: trunk/hastymail2/lib/utility_classes.php
===================================================================
--- trunk/hastymail2/lib/utility_classes.php (revision 500)
+++ trunk/hastymail2/lib/utility_classes.php (working copy)
@@ -1177,7 +1177,7 @@
return $this->user_action->urlify($input);
}
function set_timezone() {
- if ($this->phpversion >= 5) {
+ if ($this->phpversion >= 5.2) {
$tz_set = false;
if (isset($_SESSION['user_settings']['timezone'])) {
$tz_vals = DateTimeZone::listIdentifiers();