Summary: | Last seen date is missing the time in the item holdings table | ||
---|---|---|---|
Product: | Koha | Reporter: | Emily Lamancusa (emlam) <emily.lamancusa> |
Component: | Staff interface | Assignee: | Emily Lamancusa (emlam) <emily.lamancusa> |
Status: | Needs documenting --- | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | fridolin.somers, gmcharlt, jonathan.druart, lucas, phil |
Version: | Main | Keywords: | regression |
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | Trivial patch | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: |
24.11.00,24.05.06
|
Circulation function: | |
Bug Depends on: | 33568 | ||
Bug Blocks: | |||
Attachments: |
Bug 38146: Display full datetime of datelastseen in item holdings
Bug 38146: Display full datetime of datelastseen in item holdings Bug 38146: Display full datetime of datelastseen in item holdings |
Description
Emily Lamancusa (emlam)
2024-10-10 18:31:12 UTC
Created attachment 172667 [details] [review] Bug 38146: Display full datetime of datelastseen in item holdings To test: 1. Check in an item 2. Look at the item holdings table for the bib record that item is on --> Note the date last seen column displays dates, but not the time 3. Apply patch and restart_all 4. Refresh the page --> Date last seen column now shows the time you checked the item in Created attachment 172670 [details] [review] Bug 38146: Display full datetime of datelastseen in item holdings To test: 1. Check in an item 2. Look at the item holdings table for the bib record that item is on --> Note the date last seen column displays dates, but not the time 3. Apply patch and restart_all 4. Refresh the page --> Date last seen column now shows the time you checked the item in Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org> (In reply to Jonathan Druart from comment #3) > Are you sure it's a regression from bug 33568? Yes, looks like the code before was: <td class="datelastseen" data-order="[% item.datelastseen | html %]">[% item.datelastseen | $KohaDates with_hours => 1 %]</td> Which then displayed: "05/07/2014 00:00" if the date has not been modified since we moved the datatype from date to datetime. Created attachment 172776 [details] [review] Bug 38146: Display full datetime of datelastseen in item holdings To test: 1. Check in an item 2. Look at the item holdings table for the bib record that item is on --> Note the date last seen column displays dates, but not the time 3. Apply patch and restart_all 4. Refresh the page --> Date last seen column now shows the time you checked the item in Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> We may need to remove 00:00 but that's for another bug. Pushed for 24.11! Well done everyone, thank you! *** Bug 37688 has been marked as a duplicate of this bug. *** Backported to 24.05.x for upcoming 24.05.06 Depends on Bug 33568 not in 23.11.x |