https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42868

--- Comment #2 from Lucas Gass (lukeg) <[email protected]> ---
Created attachment 200924
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200924&action=edit
Bug 42868: Use local timezone instead of UTC when calculating start and end
dates

To test:
1 - Edit koha-conf.xml
2 - Set timezone:
    <timezone>America/New_York</timezone>
3 - In Koha, enable bookings syspref
4 - Find a record, click the items tab, make an item bookable
5 - Place new booking, choose a date range
6 - View the bookings tab - note the booking extends into the date before
7- Check the DB, the start_date and end_date are wrong
8. APPLY PATCH, restart_all, clear browsewr cache
9. Place a new booking.
10. MariaDB [koha_kohadev]> select * from bookings WHERE booking_id={new
booking}
11. Notice the start time should be {start_date} 00:00:00 and the end time
should be {end_date} 23:59:59

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to