On Aug 5, 2011, at 2:29 PM, John Fabiani wrote:
> Yep!
> wx.DateTime_GetMonthName(7) reports
> 'August'
Some date functions in the Python stdlib use zero-based months, while
others use 1-based. That's always been a wart, IMO. Months are not random lists
of things; their numbers have semantic meaning, and should always be 1-based.
But I know that Javascript has the same problem, so I'm not just picking on
Python here.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]