Hi all,
With the hr_timesheet and hr_attendance modules installed, when I go to Human
Resources -> Attendances -> Sign in / Sign out by project, the timestamp in the
"Current Date" field is consistently 15 hours ahead.
This field is annotated with "(local time on the server)" which is just not the
case. We are at GMT+10, and I have checked the following:
- timezone of the machine is correct
- output of 'date' is correct
- output of time.strftime('%Y-%m-%d %H:%M:%S') from Python shell is correct
- SELECT NOW() in PostgreSQL is correct
This does not only happen on that form, but seems to be a consistent problem
anywhere the Attendance functionality is.
I have searched through the code as much as possible and cannot find anywhere
where this value may have been computed incorrectly. I even went so far as to
think it might be the Javascript on the client side but disabling Javascript
still results in the wacky value.
So, all timestamps everywhere else on the server (command line, Python,
Postgres) are correct, but this one is not. It's very hard to believe it's a
timezone problem as like I said, we are GMT+10, but the timestamp is always 15
hours in the future, which just makes no sense at all.
Any ideas on how to fix this?
Regards,
Johan
-------------------- m2f --------------------
--
http://www.openobject.com/forum/viewtopic.php?p=46572#46572
-------------------- m2f --------------------
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users