Attendance Sign-In Timestamps
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP |
Invalid
|
Undecided
|
Unassigned |
Bug Description
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
There is a question which already exists and posted by the same user. /answers. launchpad. net/openerp/ +question/ 89460.
https:/