mfares / solrpy

Automatically exported from code.google.com/p/solrpy
0 stars 0 forks source link

Investigate Python 2.6's datetime.date.strftime #14

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

Python 2.6 has introduced a new "f" format for datetime.date.strftime
(http://docs.python.org/library/datetime.html#strftime-behavior). I'd like
to investigate whether it can be conditionally used for Python 2.6+ instead
of our own solr.core.utf_from_string which exists solely because there was
no built-in microseconds resolution for string parsing pre-Python 2.6.

Original issue reported on code.google.com by ds...@gefira.pl on 15 Sep 2009 at 6:44