Bug 25328 - Date formatting from JS - Remove tz handling
Summary: Date formatting from JS - Remove tz handling
Status: RESOLVED WONTFIX
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Agustín Moyano
QA Contact: Testopia
URL:
Keywords:
Depends on: 24455 24980
Blocks:
  Show dependency treegraph
 
Reported: 2020-04-30 12:36 UTC by Agustín Moyano
Modified: 2024-01-03 14:07 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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