← Back to team overview

openerp-india team mailing list archive

[Bug 1179893] Re: Attendance timestamp uses UTC rather than timezone

 

Actually this problem is not connected only to the timesheets it is
connected also to the attendances (see my comment in hr_attendances bug
report: https://bugs.launchpad.net/hr-timesheet/+bug/1220097 I
originally thought it was connected to contract but was actually
connected to timezone as I said in my comment and this problem comes
from hr_attendance module).

Aside of this I would assume that also other modules that include
specific time handling will have similar problems.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1179893

Title:
  Attendance timestamp uses UTC rather than timezone

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Even though this bug report (https://bugs.launchpad.net/openobject-
  addons/+bug/943091) seemed to indicate this particular bug occurred in
  6.1 and was fixed in 7.0, I still get the same problem.

  My timezone is Brisbane, Australia (-10 UTC).  If I sign in, either by
  using the sign in button or manually creating a sign in event in
  HR/Attendances, the browser will (mostly) display the time correctly
  for my timezone but it seems that OpenERP converts that time to UTC
  time for it's internal operations.

  Consequently, if I sign in at 8am on the first day of the timesheet
  period, OpenERP actually thinks that I've signed in at 10pm the
  previous day, which is effectively in the previous timesheet period.
  This means that when I try to submit the timesheet for validation I
  get an error saying "The timesheet cannot be validated as it does not
  contain an equal number of sign ins and sign outs".

  This is using the latest nightly build (20130513-231009).  I've tried
  with both Firefox and Safari browsers and the result is the same.

  I've included a screenshot showing that there is a discrepancy in how
  the time is recorded.  Note the difference between the time displayed
  in the form and that shown in the data above.

  Thanks,

  Bill.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1179893/+subscriptions