[docs] strptime %m not fully specified

Senthil Kumaran senthil at uthcode.com
Mon Feb 13 16:55:48 CET 2012


On Tue, Feb 07, 2012 at 02:28:11PM -0800, G Lingle wrote:
> The entry for month is like:
> 
> %m       Month as a decimal number [01,12].
> 
> This indicates that strptime will parse 2-digit months and raise an exception
> if the month string isn't 2-digit. 

I think, only if there were an Exception while using one digit month, then a
mention of it would have helped as less-formal warning. Otherwise, I do not
think, there is need for a special mention. I think, it just that strftime
returns it in 2-digit that strptime mentioned that it takes input as 2-digit.

-- 
Senthil


More information about the docs mailing list