Why is it that hr_timesheet_invoice_create.py needs
from dateutil import tz
from_zone = tz.tzutc()
to_zone = tz.tzlocal()
arrive = arrive.replace(tzinfo=from_zone)
arrive_central = arrive.astimezone(to_zone)
to display the correct time information?
And it seems .mako files are even further away from displaying the correct time information. This code doesn't work in mako files; I still get UTC.