On 16/09/2003 1:04 PM, Guido Schimmels wrote:

Hi,

Now that I found out how to use the gnomedateedit widget, I have encountered a bug. The get_time() method always returns a tuple with one day off:
For today (2003-09-16) I get:
(2003, 9, 15, 22, 0, 0, 0, 258, 0)


Judging from the headers of your email, you live in the time zone +0200. "2003-9-15, 22:00" in UTC is "2003-9-16, 0:00" in your local time zone. Try using time.localtime() to convert the integer value to a time tuple instead.

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/



_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to