[Koha-bugs] [Bug 24980] New: Date formatting from JS - use timezone only with dates with offset

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 25 20:35:40 CET 2020


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

            Bug ID: 24980
           Summary: Date formatting from JS - use timezone only with dates
                    with offset
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: agustinmoyano at theke.io
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 24455
            Blocks: 20936

Bug 24455 uses timezone to format any date that comes.. even dates like
'2020-04-04' that specifies no offset.

That date gets translated to '2020-04-04T00:00:00Z', and if you've got a
timezone with -NN:NN if you ask for the date, you may get '2020-04-03' which is
wrong.

This bug will try to fix that.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20936
[Bug 20936] Holds History for patrons in OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24455
[Bug 24455] Date formatting from JS
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list