diff options
author | VirtualTam <virtualtam@flibidi.net> | 2015-08-04 18:31:16 +0200 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2015-08-04 23:54:03 +0200 |
commit | afd7b77b4c79a0450a6ef0489ca383c156111173 (patch) | |
tree | 1892b2fdcdaa65448b653b7ee57fd96dae376fd9 /tests | |
parent | 27cf2e671d1f35bd8c9383d008cd3733fc1c6e0d (diff) | |
download | Shaarli-afd7b77b4c79a0450a6ef0489ca383c156111173.tar.gz Shaarli-afd7b77b4c79a0450a6ef0489ca383c156111173.tar.zst Shaarli-afd7b77b4c79a0450a6ef0489ca383c156111173.zip |
Installation: default to the server's timezone
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/TimeZoneTest.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/TimeZoneTest.php b/tests/TimeZoneTest.php index f3de3913..b219030a 100644 --- a/tests/TimeZoneTest.php +++ b/tests/TimeZoneTest.php | |||
@@ -80,4 +80,3 @@ class TimeZoneTest extends PHPUnit_Framework_TestCase | |||
80 | $this->assertFalse(isTimeZoneValid('Middle_Earth', 'Moria')); | 80 | $this->assertFalse(isTimeZoneValid('Middle_Earth', 'Moria')); |
81 | } | 81 | } |
82 | } | 82 | } |
83 | ?> | ||