Attendance Sign-In Timestamps

Bug #479851 reported by Johan Venter
6
This bug affects 1 person
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('%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

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

There is a question which already exists and posted by the same user.
https://answers.launchpad.net/openerp/+question/89460.

Changed in openerp:
status: New → Invalid
Revision history for this message
Johan Venter (johan-venter) wrote :

Apologies Jay, I couldn't figure out how to log a bug report without first opening a question - Launchpad told me that it wasn't the bug tracker for OpenERP :(

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.