[Tutor] Exactly duplicating strftime behavior?

Izz ad-Din Ruhulessin izzaddin.ruhulessin at gmail.com
Tue Jan 18 07:35:30 CET 2011


Hi Hugo,

Problem solved, thanks!

Kind regards,

Izz ad-Din

2011/1/17 Hugo Arts <hugo.yoshi at gmail.com>

> On Mon, Jan 17, 2011 at 8:29 PM, Izz ad-Din Ruhulessin
> <izzaddin.ruhulessin at gmail.com> wrote:
> > Hi all,
> > I'm designing a module which aims to provide full compatibility with
> > Pythons' datetime module.
> > However, I can't find out how some operators in strftime function,
> namely:
> > those who use the locale. (%a, %A, %b, etc.)
> > How do I access this locale and it's values?
> > Thanks in advance.
> > Kind regards,
> > Izz ad-Din
>
> Check out the locale module:
>
> http://docs.python.org/library/locale.html#locale.nl_langinfo
>
> HTH,
> Hugo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110118/522e990e/attachment.html>


More information about the Tutor mailing list