Bug 30310: Replace one more occurrence to moment

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 e6af365491)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
Jonathan Druart 2023-01-03 17:55:02 +01:00 committed by Matt Blenkinsop
parent 086643357e
commit d89aff3fb5
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@
window.$date_to_rfc3339 = function(value, options) {
var dateformat = (options&&options.dateformat)||def_date_format;
let m = moment(value, get_date_pattern(dateformat));
let m = dayjs(value, get_date_pattern(dateformat));
return m.format("YYYY-MM-DD");
}