Bug 30310: Fix date_to_rfc3339
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 3 Jan 2023 17:16:24 +0000 (18:16 +0100)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Wed, 1 Feb 2023 15:43:39 +0000 (15:43 +0000)
commitdbcbf5fcd1a7c3636bd8e99f58b7c0ed915bb93c
tree482392023473011cae9428e5de5ea16a5159146d
parentd89aff3fb5f1ded55669cbdb284589362e48e2f9
Bug 30310: Fix date_to_rfc3339

We need the customParseFormat plugin to provide a custom date format to
the dayjs constructor.
Found while working on bug 32559, don't remove this function, it will be
used later.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit dded614fa1735f35b0ee34869f5e45b87262382b)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/js-date-format.inc