From 48b1cdea455f6d041ce853cad59b48f779cf9f18 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 2 Feb 1998 03:19:06 +0000 Subject: [PATCH] Fix typo in format for strftime() used by cookie code. --- Tools/faqwiz/faqwiz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/faqwiz/faqwiz.py b/Tools/faqwiz/faqwiz.py index 6912cec38b6..29712eb7b58 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: