utils.py
def rfcDate(date):
	"""Return a string representation of a date according to RFC 1123
	(HTTP/1.1).
	"""
	dt = date
	weekday = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"][dt.weekday()]
	month = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"][dt.month - 1]
	return "%s, %02d %s %04d %02d:%02d:%02d GMT" % (weekday, dt.day, month, dt.year, dt.hour, dt.minute, dt.second)
Return a string representation of a date according to RFC 1123
	(HTTP/1.1).
	
Return a string representation of a date according to RFC 1123
(HTTP/1.1).
Return a string representation of a date according to RFC 1123 ( HTTP / 1 . 1 ) .
def rfcDate(date):
	dt = date
	weekday = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"][dt.weekday()]
	month = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"][dt.month - 1]
	return "%s, %02d %s %04d %02d:%02d:%02d GMT" % (weekday, dt.day, month, dt.year, dt.hour, dt.minute, dt.second)
def rfcDate ( date ) : dt = date weekday = [ "Mon" , "Tue" , "Wed" , "Thu" , "Fri" , "Sat" , "Sun" ] [ dt . weekday ( ) ] month = [ "Jan" , "Feb" , "Mar" , "Apr" , "May" , "Jun" , "Jul" , "Aug" , "Sep" , "Oct" , "Nov" , "Dec" ] [ dt . month - 1 ] return "%s, %02d %s %04d %02d:%02d:%02d GMT" % ( weekday , dt . day , month , dt . year , dt . hour , dt . minute , dt . second )
Return a string representation of a date according to RFC 1123
(HTTP/1.1).
Return a string representation of a date according to RFC 1123 ( HTTP / 1 . 1 ) .
"""Return a string representation of a date according to RFC 1123
	(HTTP/1.1).
	"""
date