@robocoder opened this Issue on May 13th 2010 Contributor


  • detect whether or not DateTime classes available; otherwise
Fatal error: Class 'DateTimeZone' not found in /home/apang/work/piwik/dev/trunk/core/Date.php on line 207

Note: I have some more testing to do and may expand on this ticket...

@robocoder commented on May 14th 2010 Contributor

Hmm... the DateTime and DateTimeZone classes aren't in the 5.1.6 sources (but the timezone functions are). I'm guessing some distros either backported this feature or used a post-5.1.6 SVN shapshot.


  • raise minimum php requirement to 5.2, or
  • modify core/Date.php to not depend on DateTime & DateTimeZone
@robocoder commented on May 15th 2010 Contributor

(In [2186]) fixes #1359 - use procedural interface instead of DateTime & DateTimeZone classes to support php 5.1.6 with experimental date support enabled

This Issue was closed on May 15th 2010
Powered by GitHub Issue Mirror