Daylight Savings time fine generator
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
I came across a strange fine issue in EG 2.9 that may be related to DST and it's possible it may have been corrected in newer releases, but I want to make sure it was documented.
I have an item that was due on,
2016-11-02 23:59:59-04
It was renewed by the patron via the OPAC on,
checkin_time | 2016-11-06 23:22:50.020641-05
It then placed fines on the item for 11/07.
It looks like the due date it may of used upon checkin of them item was,
timezone | 2016-11-03 00:59:59-04
So my theory is that Evergreen applies the current DB timezone to the due date even though it's not going to be accurate on items that were due prior to or after DST.
I think normally this is avoided by running the fine generator after 2AM each morning, but in cases were patrons check in items via the OPAC right before midnight, it looks to be a problem.
Very rare scenario more than likely, but I think it's an issue here that may need to be addressed.
Steve
This is likely addressed by the Timezone work done, noted here in bug 1705524.
Further testing is encouraged though.