diff options
author | Derick Rethans <derick@php.net> | 2010-03-07 13:47:06 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2010-03-07 13:47:06 +0000 |
commit | a2ad4ea8b5be87c81a483c2064b82878d39a4017 (patch) | |
tree | fb1947dc99f79d0cd651acb99144f8717f5e8c1a /ext/date/tests/bug45554.phpt | |
parent | abd232c6717b7794d6bf305dd8134ea0c13a36f2 (diff) | |
download | php-git-a2ad4ea8b5be87c81a483c2064b82878d39a4017.tar.gz |
- Change this test case because non-6 digits are supported now, and clarify
that the "1" doesn't show because the precision isn't high enough. (Same
happens if you change it to 9).
Diffstat (limited to 'ext/date/tests/bug45554.phpt')
-rw-r--r-- | ext/date/tests/bug45554.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/date/tests/bug45554.phpt b/ext/date/tests/bug45554.phpt index 9416214e93..0e9ebfd140 100644 --- a/ext/date/tests/bug45554.phpt +++ b/ext/date/tests/bug45554.phpt @@ -9,12 +9,12 @@ $d = date_create_from_format($format, "03-15-2005 12:22:29.000000 PST"); echo $d->format($format), "\n"; $d = date_create_from_format($format, "03-15-2005 12:22:29.001001 PST"); -echo $d->format($format), "\n"; +echo $d->format($format), " (precision isn't enough to show the 1 here)\n"; $d = date_create_from_format($format, "03-15-2005 12:22:29.0010 PST"); -var_dump( $d ); +echo $d->format($format), "\n"; ?> --EXPECT-- 03-15-2005 12:22:29.000000 PST +03-15-2005 12:22:29.001000 PST (precision isn't enough to show the 1 here) 03-15-2005 12:22:29.001000 PST -bool(false) |