Code review comment for lp:~agilebg/hr-timesheet/fix-hr_attendance_analysis-report-timezone

Revision history for this message
Lorenzo Battistini (elbati) wrote :

Pedro, right, thanks.

I added the conversion to UTC while searching for attendances within the current_date.
This way, if selected current_date is 29/05/2014 (for a user in GMT+2), the sign in at 28/05/2014 22:12 UTC will be included in current_date.
So, every datetime is always expressed in the timezone of the user.

« Back to merge proposal