On Oct 3, 2009, at 5:50 PM, psycoman wrote: > How you guys make this ? im thinking in save time form server and > apply time zone, depend on user configuration, and how to store user > timezone ? > > any advice ?
Babel includes time localization functions, I'd recommend reading the docs for pytz, storing your datetime's all in GMT, then formatting them on the way out depending on however you allow the user to specify it. The PylonsHQ site does this, and lets users designate their timezone. The source for it is here: http://bitbucket.org/bbangert/kai/overview/ Cheers, Ben --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
