Commit Graph

58 Commits

Author SHA1 Message Date
Ilia Alshanetsky
e87127af69 MFB43: Fixed bug #31583 (php_std_date() uses short day names in
non-y2k_compliance mode).
Fixed bug #31689 (PHPAPI missing for php_std_date() and php_parse_date()).
2005-04-14 13:34:05 +00:00
Derick Rethans
d79407f4fd - MF5.0: Fixed bug #28599 (strtotime fails with zero base time). 2004-11-15 16:31:12 +00:00
Derick Rethans
3ec166aba4 - Add missing "CEST" timezone 2004-04-08 19:21:05 +00:00
Derick Rethans
95659890ba - Fixed expected shift/reduce conflict count nu,ber 2004-04-02 21:26:35 +00:00
Derick Rethans
b2ed70e4e0 - MFB: Fixed bug #27780 (strtotime(+1 xxx) returns a wrong date/time) 2004-04-01 21:40:56 +00:00
Derick Rethans
6644d38e35 - Fixed yacc file 2004-03-02 13:12:44 +00:00
Moriyoshi Koizumi
df8ee549f5 - Add support for more ISO8601 style formats.
. Timezone specifier (ex. 20040301T00:00:00+1900)
 . Week specifier "W"  (ex. 1997W021)
- Modified test case to test new features.
2004-03-01 10:42:28 +00:00
Wez Furlong
2ad5943282 add prototype 2003-12-19 12:43:39 +00:00
foobar
6f4cc5c1c9 Fixed bug #26565 (strtotime("this month") resolving to the wrong month) 2003-12-10 14:08:06 +00:00
Hartmut Holzgraefe
0141080ff5 reduce/reduce conflicts resolved 2003-12-08 22:22:57 +00:00
Sebastian Bergmann
8dd6cded76 'Fix' for bison 1.875. 2003-11-25 15:36:38 +00:00
Hartmut Holzgraefe
ead7c2388d debug mode no longer needed 2003-11-20 19:01:33 +00:00
Hartmut Holzgraefe
7eb2471565 XSchema stuff finally done right ... (at least i hope so ...) 2003-11-19 19:55:13 +00:00
Hartmut Holzgraefe
45a07a546f the military time zone offsets where pointing in the wrong direction 2003-11-18 06:46:07 +00:00
Hartmut Holzgraefe
f4d669d712 make strtotime() understand the datetime format used with XML Schema 2003-11-18 06:45:01 +00:00
Ilia Alshanetsky
770a111a43 Fixed bug #26198 (strtotime() handling of M/F Y date format). 2003-11-12 02:55:03 +00:00
Hartmut Holzgraefe
0a46866d8f silenced a compiler warning 2003-09-26 07:51:52 +00:00
Derick Rethans
5e1062fe7c - Back out Ilia's not-yet-ready patch. 2003-08-19 06:34:46 +00:00
Ilia Alshanetsky
c23609efa7 Fixed paths in various tests. In certain conditions usage of partial file
paths results in test failures.
2003-08-18 22:57:49 +00:00
Derick Rethans
fe7bb97737 - Fix the comment too 2003-08-17 11:49:18 +00:00
Derick Rethans
cd2540373f - This parser contains 17 reduce conflicts 2003-08-17 11:48:29 +00:00
Derick Rethans
77729f89dd - Fixed bug #17988: strtotime fails to parse timestamp from postgresql
#- This is actually a feature request
2003-08-16 20:55:28 +00:00
Ilia Alshanetsky
f9cf39bd30 Fixed bug #13142 (strtotime not handling "M d H:i:s Y" format) 2003-07-28 04:01:32 +00:00
David Hill
60a7aef6e9 Changing parsedate to be reentrant using pure_parser (Dave) 2003-03-28 13:10:52 +00:00
Wez Furlong
8a85e0f614 put that back... 2002-09-09 19:11:35 +00:00
Wez Furlong
6bc7e97161 Revert Dericks accidental commit :-)
Add an Id tag so we can see at a glance who is to blame.
2002-09-09 19:09:23 +00:00
Derick Rethans
828c2a9c46 - argh... this is getting annoying 2002-09-06 07:47:49 +00:00
Rasmus Lerdorf
059f302596 Fix strtotime() "next" keyword handling. 2002-07-30 18:42:19 +00:00
Marko Karppinen
449b53e34a Ignore ordinal suffixes on numbers (bug #15210) 2002-01-24 22:24:58 +00:00
Derick Rethans
896faf0b34 - Fix a bug in timezones +0100 and -0100 2001-12-02 11:35:28 +00:00
Derick Rethans
6a5bcfef8d - Fix for bugs #9640 and #13789 2001-10-27 17:50:26 +00:00
Derick Rethans
9f5e71bd42 - Nuke warning 2001-05-06 18:53:45 +00:00
Derick Rethans
b181237582 - Partial fix for bug #9050, support for "Jan 19 2000" date format 2001-05-06 18:33:49 +00:00
Sascha Schumann
4078b3cff9 Namespace protect parse_date interface and implementation 2000-12-08 00:12:35 +00:00
Chuck Hagenbuch
eb437a5870 close bug 7851 2000-11-17 16:10:43 +00:00
Zeev Suraski
ae49ebf198 'const' is problematic in code in the final section of a Bison file (Bison defines
it away)
2000-08-22 20:59:26 +00:00
Stanislav Malyshev
02feba6c05 Fix win32 build 2000-08-21 12:56:51 +00:00
Sascha Schumann
8e0ae5d152 Cleaning up some mess 2000-08-21 09:50:53 +00:00
Zeev Suraski
da66298659 - Fix a couple of wranings in the FTP code and in parsedate.y
- Be safer with LC_MESSAGES
- Align with the latest Zend change in call_user_function_ex()
2000-06-17 16:49:03 +00:00
Andrei Zmievski
59b455cf2f @- Updated strtotime() to handle many more formats. It now has complete
@  feature parity with GNU date command. (Andrei)
2000-06-15 16:24:10 +00:00
Sascha Schumann
d0f3764ee2 Change reentrancy API to always use the php prefix.
Check for the declaration of reentrant functions, so that we can use
them in non-ZTS mode on all platforms.
2000-05-04 10:38:17 +00:00
Zeev Suraski
80bdd19e03 Fine tune Andi's patch 2000-02-11 15:59:30 +00:00
Andi Gutmans
29280bb9ec - Get rid of some more evil MSVC5's and switch standard/ to use PHP_WIN32 2000-02-10 21:53:56 +00:00
Sascha Schumann
2fd8cbff2a Declare timezone only, if the system fails to do so. 2000-01-01 02:22:01 +00:00
Sam Ruby
8a34d1a7e0 Further cleanup as including php.h is no longer harmful
- thanks to Sascha for noticing it.
Tested on Linux and WinNT, should work everywhere.
1999-12-21 02:34:20 +00:00
Sam Ruby
e3cbafdda6 -kludges -warning +reentrancy(more) +compiles(Unix) 1999-12-07 02:47:35 +00:00
Zeev Suraski
40eb2bb5b0 First step in making parsedate.y thread safe - use a pure parser 1999-12-06 19:04:01 +00:00
Zeev Suraski
02d76f8b86 This is no longer needed. Note that we'll always need to undefine YYSTYPE, since
the template bison generated .h file defines it if it's not already defined.
1999-12-06 15:34:05 +00:00
Thies C. Arntzen
5201f90588 removed unneded CLS_FETCH() 1999-12-06 13:08:16 +00:00
Sam Ruby
7ae5d271b6 build error: wrong num parms to date_parse 1999-12-06 05:28:26 +00:00