strptime - dates formatted differently on different computers

Chris Angelico rosuav at gmail.com
Tue Dec 11 03:32:14 EST 2012


n Tue, Dec 11, 2012 at 7:25 PM, Michael Torrie <torriem at gmail.com> wrote:
> On 12/11/2012 01:08 AM, Chris Angelico wrote:
>> That sort of statement will get you either amusement or ire, depending
>> on the respondent. From me, amusement, because there are enough
>> "common American date formats" for you to feel you've done a thorough
>> test.
>
> Also what I meant was common "english language" formats.  Such as:
>
> 1 Apr 2013
> April 1, 2013
> Apr 1
> Apr 2013
> 1st of April, 2013
> April of 2013
> 5pm on August 3

Ah! Okay. So, more general than just "different delimiters and such
that you'd find in the USA". Still, it did come across as rather
amusing, worded the way you had it.

ChrisA



More information about the Python-list mailing list