diff options
author | Zoe Slattery <zoe@php.net> | 2008-10-28 19:26:03 +0000 |
---|---|---|
committer | Zoe Slattery <zoe@php.net> | 2008-10-28 19:26:03 +0000 |
commit | c7d76c2f02c3d33f2ecccd7020492f0adadeea75 (patch) | |
tree | e978836d17ca99788966de0940d88b88c6159f8b /ext/date | |
parent | 35829ec7ed3e04b31e03c3a02c0f7a3b322bb8d4 (diff) | |
download | php-git-c7d76c2f02c3d33f2ecccd7020492f0adadeea75.tar.gz |
scottish time variation
Diffstat (limited to 'ext/date')
-rw-r--r-- | ext/date/tests/strtotime_variation_scottish.phpt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ext/date/tests/strtotime_variation_scottish.phpt b/ext/date/tests/strtotime_variation_scottish.phpt new file mode 100644 index 0000000000..57ef734993 --- /dev/null +++ b/ext/date/tests/strtotime_variation_scottish.phpt @@ -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" |