cvs: /php3/functions parsedate.y
| From: | sas | Date: | Tue, 13 Jul 1999 09:54:54 +0000 |
| Subject: | cvs: /php3/functions parsedate.y | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8434@lists.php.net to get a copy of this message | ||
sas Tue Jul 13 09:54:54 1999 EDT
Modified files:
/php3/functions parsedate.y
Log:
seems to work now
Index: php3/functions/parsedate.y
diff -u php3/functions/parsedate.y:1.6 php3/functions/parsedate.y:1.7
--- php3/functions/parsedate.y:1.6 Tue Jul 13 09:14:28 1999
+++ php3/functions/parsedate.y Tue Jul 13 09:54:53 1999
@@ -1,5 +1,5 @@
%{
-/* $Revision: 1.6 $
+/* $Revision: 1.7 $
**
** Originally written by Steven M. Bellovin <smb@research.att.com> while
** at the University of North Carolina at Chapel Hill. Later tweaked by
@@ -50,6 +50,7 @@
#define yylex date_lex
#define yyerror date_error
+static int date_lex(void);
/* See the LeapYears table in Convert. */
#define EPOCH 1970
@@ -860,7 +861,7 @@
yyMonth = tm->tm_mon + 1;
yyDay = tm->tm_mday;
#ifdef HAVE_TM_GMTOFF
- yyTimezone = now->tm_gmtoff/60;
+ yyTimezone = tm->tm_gmtoff/60;
#else
yyTimezone = timezone/60;
#endif