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:
parent
086643357e
commit
d89aff3fb5
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue