##// END OF EJS Templates
str.rsplit does not exist in python 2.3
Benoit Boissinot -
r2546:8cb89437 default
parent child Browse files
Show More
@@ -868,7 +868,7 b" def strdate(string, format='%a %b %d %H:"
868 868 string[-6].isspace())
869 869
870 870 if hastimezone(string):
871 date, tz = string.rsplit(None, 1)
871 date, tz = string[:-6], string[-5:]
872 872 tz = int(tz)
873 873 offset = - 3600 * (tz / 100) - 60 * (tz % 100)
874 874 else:
General Comments 0
You need to be logged in to leave comments. Login now