I'm cheating by making the timezone a configurable preference setting, defaulting to the local TZ. :-)
Well, drat. I'll probably just write a function to do the formatting, then call it all over the place. On Feb 23, 1:56 pm, Daniel Holth <[email protected]> wrote: > I use a module called python-dateutil for date stuff, but I just show UTC > everywhere. > > No easy way to do the current user's time zone. You could consider using the > pyramid threadlocal API to make your own 'render in current user's time > zone' function. -- 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.
