On 3/1/07, Jens Diemer <[EMAIL PROTECTED]> wrote:
> How can i send a datetime in the client preferred format? Note: i don't
> wand to use a template filter to handle this ;)
And yet this is *exactly* what the 'date' template filter is for; it's
a presentation issue, so a filter in the presentatio
Jens Diemer schrieb:
> How can i send a datetime in the client preferred format? Note: i don't
> wand to use a template filter to handle this ;)
Hm!
I can make this:
t.strftime(_("%Y-%m-%d - %H:%M"))
:)
--
Mfg.
Jens Diemer
CMS in pure Python CGI: http://www.pylucid.org
--~--~
How can i send a datetime in the client preferred format? Note: i don't
wand to use a template filter to handle this ;)
Generally:
- There is no "User preferred language" column in the default User table
- django doesn't setup a client preferred language based on the
HTTP_ACCEPT_LANGUAG
3 matches
Mail list logo