[Zope-Checkins] CVS: Zope2 - AcceleratedHTTPCacheManager.py:1.8

Brian Lloyd brian@digicool.com
Tue, 10 Apr 2001 10:33:50 -0400 (EDT)


Update of /cvs-repository/Zope2/lib/python/Products/StandardCacheManagers
In directory korak:/home/brian/temp/mainline_test/lib/python/Products/StandardCacheManagers

Modified Files:
	AcceleratedHTTPCacheManager.py 
Log Message:
merged fix for locale-dependent http date



--- Updated File AcceleratedHTTPCacheManager.py in package Zope2 --
--- AcceleratedHTTPCacheManager.py	2001/04/10 12:36:22	1.7
+++ AcceleratedHTTPCacheManager.py	2001/04/10 14:33:48	1.8
@@ -100,9 +100,6 @@
 from string import lower, join, split
 from App.Common import rfc1123_date
 
-def http_date(value, format='%a, %d %b %Y %H:%M:%S GMT'):
-    return time.strftime(format, time.gmtime(value))
-
 
 class AcceleratedHTTPCache (Cache):
     # Note the need to take thread safety into account.