cvs: php-src /ext/date/tests strtotime_variation_scottish.phpt
| From: | Zoe Slattery | Date: | Tue, 28 Oct 2008 19:26:03 +0000 |
| Subject: | cvs: php-src /ext/date/tests strtotime_variation_scottish.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-53759@lists.php.net to get a copy of this message | ||
zoe Tue Oct 28 19:26:03 2008 UTC
Modified files:
/php-src/ext/date/tests strtotime_variation_scottish.phpt
Log:
scottish time variation
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/strtotime_variation_scottish.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/date/tests/strtotime_variation_scottish.phpt
diff -u /dev/null php-src/ext/date/tests/strtotime_variation_scottish.phpt:1.2
--- /dev/null Tue Oct 28 19:26:03 2008
+++ php-src/ext/date/tests/strtotime_variation_scottish.phpt Tue Oct 28 19:26:03 2008
@@ -0,0 +1,16 @@
+--TEST--
+Checking whisky time
+--INI--
+date.timezone="UTC"
+--FILE--
+<?php
+ var_dump(date('H:i:s', strtotime('back of 7')));
+ var_dump(date('H:i:s', strtotime('front of 7')));
+ var_dump(date('H:i:s', strtotime('back of 19')));
+ var_dump(date('H:i:s', strtotime('front of 19')));
+?>
+--EXPECTF--
+%string|unicode%(8) "07:15:00"
+%string|unicode%(8) "06:45:00"
+%string|unicode%(8) "19:15:00"
+%string|unicode%(8) "18:45:00"