cvs: php3 /functions datetime.c
| From: | Rasmus Lerdorf | Date: | Fri, 14 Jul 2000 01:06:18 +0000 |
| Subject: | cvs: php3 /functions datetime.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-746@lists.php.net to get a copy of this message | ||
rasmus Thu Jul 13 18:06:18 2000 EDT
Modified files:
/php3/functions datetime.c
Log:
Some browsers want the dashes here
Index: php3/functions/datetime.c
diff -u php3/functions/datetime.c:1.86 php3/functions/datetime.c:1.87
--- php3/functions/datetime.c:1.86 Mon Apr 10 12:29:37 2000
+++ php3/functions/datetime.c Thu Jul 13 18:06:18 2000
@@ -28,7 +28,7 @@
| Rasmus Lerdorf <rasmus@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: datetime.c,v 1.86 2000/04/10 19:29:37 andi Exp $ */
+/* $Id: datetime.c,v 1.87 2000/07/14 01:06:18 rasmus Exp $ */
#include "php.h"
#include "internal_functions.h"
#include "operators.h"
@@ -490,7 +490,7 @@
tm1 = gmtime(&t);
str = emalloc(81);
if (php3_ini.y2k_compliance) {
- snprintf(str, 80, "%s, %02d %s %04d %02d:%02d:%02d GMT",
+ snprintf(str, 80, "%s, %02d-%s-%04d %02d:%02d:%02d GMT",
day_short_names[tm1->tm_wday],
tm1->tm_mday,
mon_short_names[tm1->tm_mon],