[Python-ideas] Parsing ISO 8601 with the standard library

Mark Lawrence breamoreboy at yahoo.co.uk
Tue Mar 11 20:51:17 CET 2014


On 11/03/2014 19:39, Tin Tvrtković wrote:
> Ugh, I need to get into the habit of checking the issue tracker first.
> Sorry for not doing that this time.
>
> The resolution of that issue is what I'm after, yeah. Also, yes, I meant
> colon instead of semicolon.
>
> Thanks!
>
> On 11.03.2014 20:10, Guido van Rossum wrote:
>>
>> Ah, colon, not semicolon.
>>
>> On Mar 11, 2014 12:08 PM, "Alexander Belopolsky"
>> <alexander.belopolsky at gmail.com
>> <mailto:alexander.belopolsky at gmail.com>>
>> wrote:
>>
>>
>>     On Tue, Mar 11, 2014 at 2:57 PM, Guido van Rossum
>>     <guido at python.org
>>     <mailto:guido at python.org>> wrote:
>>
>>         Can you show or point us to some examples of the types of
>>         dates that cannot be parsed? Do you happen to have the
>>         specification for those?
>>
>>
>>     This is a known limitation. We don't have an strftime code for TZ
>>     in hh:mm format.  GNU date uses ':z' for this.
>>
>>     See http://bugs.python.org/issue5207
>>
>

In case you haven't seen it there's also 
http://bugs.python.org/issue15873 - whether both need to remain open 
I've no idea.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com




More information about the Python-ideas mailing list