--- embedaddon/php/ext/date/lib/parse_date.re 2012/02/21 23:47:53 1.1.1.1 +++ embedaddon/php/ext/date/lib/parse_date.re 2013/07/22 01:31:38 1.1.1.3 @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2010 The PHP Group | + | Copyright (c) 1997-2013 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: parse_date.re,v 1.1.1.1 2012/02/21 23:47:53 misho Exp $ */ +/* $Id: parse_date.re,v 1.1.1.3 2013/07/22 01:31:38 misho Exp $ */ #include "timelib.h" @@ -1073,6 +1073,7 @@ weekdayof = (reltextnumber|reltexttext) space ( s->time->is_localtime = 1; s->time->zone_type = TIMELIB_ZONETYPE_OFFSET; s->time->z = 0; + s->time->dst = 0; TIMELIB_DEINIT; return TIMELIB_RELATIVE; @@ -2077,6 +2078,7 @@ timelib_time *timelib_parse_from_format(char *format, s->time->is_localtime = 1; s->time->zone_type = TIMELIB_ZONETYPE_OFFSET; s->time->z = 0; + s->time->dst = 0; break; case 'e': /* timezone */