Hello,

I got this module working with the examples provided in the README but the timer is off about 12 hours from my system time. Do I need to changes something with the tz_hours style? Currently, it reads -8.

Comments

WISEOZ’s picture

I think I just figured it out. Correct me if I'm wrong.

First off, the time value in the "datetime" is a 24 clock. I was trying to use it as a 12 hour clock ... duh!

Secondly, tz_hours should be set to your current time relative to GST. I live in Tampa, FL so this is a -5 to me.

Let me know if this is correct.

You might want to add something more to the README as well.

jvandervort’s picture

Status: Active » Closed (fixed)

Yes, and yes.
tz for US eastern time is -5.
The next version is moving towards a full iso date string which includes the timezone offset and implies 24 hour time.

I'll see if I can add a note somewhere.