]> granicus.if.org Git - php/commitdiff
- Don't show timezone if it wasn't found while parsing.
authorDerick Rethans <derick@php.net>
Sat, 13 Nov 2010 14:57:47 +0000 (14:57 +0000)
committerDerick Rethans <derick@php.net>
Sat, 13 Nov 2010 14:57:47 +0000 (14:57 +0000)
ext/date/lib/timelib.c

index 528c89d63a108441d1f1c3dc547994820acd5dfe..5e65a6e4cf9d1192e0c55a4ca9e6479cb610533a 100644 (file)
@@ -230,8 +230,6 @@ void timelib_dump_date(timelib_time *d, int options)
                                printf(" %05d%s", d->z, d->dst == 1 ? " (DST)" : "");
                                break;
                }
-       } else {
-               printf(" GMT 00000");
        }
 
        if ((options & 1) == 1) {