iliaa           Tue Jul 26 18:22:08 2005 EDT

  Modified files:              
    /php-src/ext/date/lib/resource      parse_date.re 
  Log:
  Fix for bug #33869
  
  
http://cvs.php.net/diff.php/php-src/ext/date/lib/resource/parse_date.re?r1=1.24&r2=1.25&ty=u
Index: php-src/ext/date/lib/resource/parse_date.re
diff -u php-src/ext/date/lib/resource/parse_date.re:1.24 
php-src/ext/date/lib/resource/parse_date.re:1.25
--- php-src/ext/date/lib/resource/parse_date.re:1.24    Wed Jul 20 04:31:02 2005
+++ php-src/ext/date/lib/resource/parse_date.re Tue Jul 26 18:22:06 2005
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: parse_date.re,v 1.24 2005/07/20 08:31:02 derick Exp $ */
+/* $Id: parse_date.re,v 1.25 2005/07/26 22:22:06 iliaa Exp $ */
 
 #include "timelib.h"
 
@@ -870,8 +870,8 @@
 reltextunit = 
(('sec'|'second'|'min'|'minute'|'hour'|'day'|'week'|'fortnight'|'forthnight'|'month'|'year')
 's'?) | dayfull;
 
 relnumber = ([+-]?[0-9]+);
-relative = (relnumber space reltextunit)+;
-relativetext = (reltextnumber space reltextunit)+;
+relative = (relnumber space? reltextunit)+;
+relativetext = (reltextnumber space? reltextunit)+;
 
 */
 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to