From: Guido van Rossum Date: Mon, 2 Feb 1998 03:19:06 +0000 (+0000) Subject: Fix typo in format for strftime() used by cookie code. X-Git-Tag: v1.5.1~868 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=48b1cdea455f6d041ce853cad59b48f779cf9f18;p=thirdparty%2FPython%2Fcpython.git Fix typo in format for strftime() used by cookie code. --- diff --git a/Tools/faqwiz/faqwiz.py b/Tools/faqwiz/faqwiz.py index 6912cec38b6f..29712eb7b581 100644 --- a/Tools/faqwiz/faqwiz.py +++ b/Tools/faqwiz/faqwiz.py @@ -151,7 +151,7 @@ def send_my_cookie(ui): then = now + COOKIE_LIFETIME gmt = time.gmtime(then) print "Set-Cookie: %s=%s; path=/cgi-bin/;" % (name, value), - print time.strftime("expires=%a, %d-%b-%x %X GMT", gmt) + print time.strftime("expires=%a, %d-%b-%y %X GMT", gmt) class MagicDict: