summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/tests/time/002.phpt7
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/standard/tests/time/002.phpt b/ext/standard/tests/time/002.phpt
index 6051047276..5156842583 100644
--- a/ext/standard/tests/time/002.phpt
+++ b/ext/standard/tests/time/002.phpt
@@ -33,7 +33,12 @@ if (!@putenv("TZ=EST5") || getenv("TZ") != 'EST5') {
echo date ("Y-m-d H:i:s\n", strtotime ($date));
}
- putenv ("TZ=US/Eastern");
+ if (PHP_OS === "OSF1") {
+ // POSIX style
+ putenv ("TZ=EST5EDT4,M4.1.0,M10.5.0");
+ } else {
+ putenv ("TZ=US/Eastern");
+ }
foreach ($dates as $date) {
echo date ("Y-m-d H:i:s\n", strtotime ($date));
}