time.strptime() for different languages
pink at odahoda.de
Wed Aug 31 22:44:23 CEST 2005
Adam Monsen wrote:
> Anyone know of something that works like time.strptime(), but for
> other languages? Specifically, Dutch (ex: "31 augustus 2005, 17:26")
> and German?
> Thinking out loud... since "31 augustus 2005, 17:26" is only different
> by month name, I suppose I could just substitute the month name using
> a translation table for English to Dutch month names.
Have you tested it with the proper locale setting and strptime(dateString,
"%c")? I have not ;)
Email: pink at odahoda dot de
More information about the Python-list