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>
Are you sure it's a regression from bug 33568?
(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