Bug 25328

Summary: Date formatting from JS - Remove tz handling
Product: Koha Reporter: Agustín Moyano <agustinmoyano>
Component: OPACAssignee: Agustín Moyano <agustinmoyano>
Status: CLOSED WONTFIX QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: jonathan.druart, martin.renvoize, tomascohen
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 24455, 24980    
Bug Blocks:    

Description Agustín Moyano 2020-04-30 12:36:11 UTC
After some discussion, I now believe timezone handling in JS is redundant, and should be removed.

Dates that comes from the API are already converted to the corresponding timezone with dt_from_string, so there is no need for a second conversion here.
Comment 1 Katrin Fischer 2024-01-01 12:45:42 UTC
Can you confirm if this still needs updating? I was not sure where to check in the code.
Comment 2 Martin Renvoize (ashimema) 2024-01-03 14:07:41 UTC
Pretty sure the API consistently returnd RFC dates now