Skip to content

Commit d9f81cb

Browse files
authored
Fix DATE_FORMAT_COOKIE definition
1 parent 709e45d commit d9f81cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/date/php_date.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ PHP_RSHUTDOWN_FUNCTION(date)
368368
* http://msdn.microsoft.com/en-us/library/windows/desktop/aa384321%28v=vs.85%29.aspx
369369
* and http://curl.haxx.se/rfc/cookie_spec.html
370370
*/
371-
#define DATE_FORMAT_COOKIE "l, d-M-Y H:i:s T"
371+
#define DATE_FORMAT_COOKIE "D, d-M-Y H:i:s T"
372372

373373
#define SUNFUNCS_RET_TIMESTAMP 0
374374
#define SUNFUNCS_RET_STRING 1

0 commit comments

Comments
 (0)