apple / ccs-calendarserver

The Calendar and Contacts Server.
https://www.calendarserver.org
Apache License 2.0
486 stars 136 forks source link

strptime %f requires python 2.6 #328

Closed macosforgebot closed 13 years ago

macosforgebot commented 13 years ago

yozh@… originally submitted this as ticket:420


twistedcaldav/dateops.py:247 contains:

return datetime.datetime.strptime(ts, "%Y-%m-%d %H:%M:%S.%f")

%f strptime format is not available in Python 2.5.

http://trac.calendarserver.org/wiki/HACKING page does not allow code that requires Python 2.6.

macosforgebot commented 13 years ago

@wsanchez originally submitted this as comment:1:⁠ticket:420


True enough.

macosforgebot commented 13 years ago

@wsanchez originally submitted this as comment:2:⁠ticket:420


We're requiring 2.6 now.