On 23.02.11 11:56, Daniel Holth 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. >
+1 to python-dateutil: one of the most useful libraries out there, it should be part of every dev arsenal. BTW, it has methods for dealing with tz info [1]. [1] http://niemeyer.net/python-dateutil#head-587bd3efc48f897f55c179abc520a34330ee0a62 -- 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.
