From 590247e5abee0bdcdad54670ef77d4b820f876d6 Mon Sep 17 00:00:00 2001 From: <brian@svn.zope.org> Date: Tue, 8 Aug 2000 13:38:40 +0000 Subject: [PATCH] Merged fix for rfc1123 date formatting in client.py from 2.2 branch --- lib/python/webdav/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/python/webdav/client.py b/lib/python/webdav/client.py index 81f56b003..f86949116 100644 --- a/lib/python/webdav/client.py +++ b/lib/python/webdav/client.py @@ -1,6 +1,6 @@ """HTTP 1.1 / WebDAV client library.""" -__version__='$Revision: 1.10 $'[11:-2] +__version__='$Revision: 1.11 $'[11:-2] import sys, os, string, regex, time, types import socket, httplib, mimetools @@ -429,7 +429,7 @@ def rfc1123_date(ts=None): if ts is None: ts=time.time() ts=time.asctime(time.gmtime(ts)) ts=string.split(ts) - return '%s, %s %s %s %s GMT' % (ts[0],ts[2],ts[1],ts[3],ts[4]) + return '%s, %s %s %s %s GMT' % (ts[0],ts[2],ts[1],ts[4],ts[3]) def marshal_string(name, val): return '%s=%s' % (name, quote(str(val))) -- 2.30.9