Ask Your Question

Format Localization and Time Zone settings

asked 2012-05-01 08:26:12 -0600

zaf gravatar image

Happy 1st May everyone!

I want to set up dates and times in askbot, so that they appear in a format/language familiar to my users. I see here how I can play with the formats. What I don't see is how to localize these formats? Most of my users will not be english people, so for example, when %b format used (like in Apr 30), I don't want the word Apr to appear, but Απρ, which is the greek translation.

Do you know if django has any solution to this?

Also, I was reading this and this django docs and I was wondering if Askbot's current version supports these, so that users are able to see the same data but in different format, according to their timezone and locale. And if it's not supported, is there any future plans about these?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2012-05-01 09:07:40 -0600

Evgeny gravatar image

The date/time localization is a feature of Python.

It has not yet been used in askbot.

edit flag offensive delete link more


Speaking of time zones, when I submit this comment I have a bad feeling that it's going to say 1 hour ago. (OK, it didn't, there must be a bug in the askbot instance I was using.)

Neil gravatar imageNeil ( 2014-03-14 17:48:17 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-05-01 08:26:12 -0600

Seen: 425 times

Last updated: May 01 '12