[Koha-bugs] [Bug 31149] Use dayjs to parse dates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 16 15:13:20 CET 2022


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

Paul Derscheid <paul.derscheid at lmscloud.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #137680|0                           |1
        is obsolete|                            |

--- Comment #2 from Paul Derscheid <paul.derscheid at lmscloud.de> ---
Created attachment 144680
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144680&action=edit
Bug 31149: Use dayjs to parse dates

We can use the isValid's dayjs function instead of our own parsing
functions.

Test plan:
Confirm that you cannot enter an invalid date when using a date picker widget.

Works as expected.

Signed-off-by: LMSCloudPaulD <paul.derscheid at lmscloud.de>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list