Attendance Sign-In Timestamps
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(
- 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
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- OpenERP Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Johan Venter for more information if necessary.