aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/TimeZoneTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Comply with PHPUnit V8: setup/teardown functions must return voidArthurHoaro2020-09-261-1/+1
|
* Optimize and cleanup importsVirtualTam2019-01-131-1/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Change timezone data structure send to the templatesArthurHoaro2017-04-031-32/+51
| | | | | | | | | | | The goal of this is to be able to adapt the timezone form in template without hacking the HTML already rendered. * there are two arrays available: * `continents` which contains only a list of available continents * `cities` which contains a list of available timezone cities, associated with their continent Note: there are two distinct array because RainTPL doesn't support nested loop very well.
* Use correct 'UTC' timezoneArthurHoaro2016-05-031-1/+1
|
* Installation: default to the server's timezoneVirtualTam2015-08-041-1/+0
| | | | | | | | | | | | | Modifications - attempt to use the server's timezone - if none is set, use UTC - TimeZone: apply coding conventions - variable naming - no closing PHP tag Relates to #274 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* PHP: ensure 5.3 compatibility, refactor timezone utilitiesVirtualTam2015-07-131-0/+83
Relates to #250 Modifications - supported version - bump required version from 5.1.0 to 5.3.x - update README - add PHP 5.3 to Travis environments - rewrite array declarations: explicitely use array() instead of [] - move checkPHPVersion to application/Utils.php - move timezone functions to application/TimeZone.php - cleanup code - improve test coverage Signed-off-by: VirtualTam <virtualtam@flibidi.net>