[Zope] DateTime Issues

2009-12-23 Thread Justin Dunsworth
I am having difficulties with time zones and rendering proper times/dates. My time zone is GMT-6 (CST)... mysql reports the proper time/date, running dtml-var expr=e.strftime('%c') shows Zope has the right date, running a query straight from the SQLMethod shows the proper time in relation to the

Re: [Zope] DateTime Issues

2009-12-23 Thread Andrew Milton
+---[ Justin Dunsworth ]-- | I am having difficulties with time zones and rendering proper times/dates. My | time zone is GMT-6 (CST)... mysql reports the proper time/date, running | dtml-var expr=e.strftime('%c') shows Zope has the right date, running a | query straight

Re: [Zope] DateTime Issues

2009-12-23 Thread Justin Dunsworth
Ah-ha... that would make sense. Is there a way to display it without stripping the timezone information or at least add another time preset? On Wed, Dec 23, 2009 at 11:30 AM, Andrew Milton a...@theinternet.com.auwrote: +---[ Justin Dunsworth ]-- | I am having

Re: [Zope] DateTime Issues

2009-12-23 Thread Andrew Milton
+---[ Justin Dunsworth ]-- | Ah-ha... that would make sense. Is there a way to display it without stripping | the timezone information or at least add another time preset? Not with the same level of flexibility. The DateTime object contains everything you need to build it

Re: [Zope] DateTime Issues

2009-12-23 Thread Lennart Regebro
On Wed, Dec 23, 2009 at 18:24, Justin Dunsworth justin.dunswo...@gmail.com wrote: I am having difficulties with time zones and rendering proper times/dates. My time zone is GMT-6 (CST)... mysql reports the proper time/date, running dtml-var expr=e.strftime('%c') shows Zope has the right date,

Re: [Zope] DateTime Issues

2009-12-23 Thread Andrew Milton
+---[ Lennart Regebro ]-- | On Wed, Dec 23, 2009 at 18:24, Justin Dunsworth | justin.dunswo...@gmail.com wrote: | I am having difficulties with time zones and rendering proper times/dates. | My time zone is GMT-6 (CST)... mysql reports the proper time/date, running |