]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in format for strftime() used by cookie code.
authorGuido van Rossum <guido@python.org>
Mon, 2 Feb 1998 03:19:06 +0000 (03:19 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 2 Feb 1998 03:19:06 +0000 (03:19 +0000)
Tools/faqwiz/faqwiz.py

index 6912cec38b6f210a935f737d7b08fead4482df99..29712eb7b5819a54a63018011da37ce07c72c8de 100644 (file)
@@ -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: