Hi all,
i used to format date on load using moment:
df.formatter = function (value, df) {
var d = moment(value).toDate();
var options = {
weekday: "short",
year: "numeric",
month: "short",
day: "numeric"
};
let data = d.toLocaleDateString("it-IT", options);
return data.replace(/(^|\s)[a-z]/g, function (f) {
return f.toUpperCase();
});
};
Seems its not working anymore, since last update:
ERPNext: v9.x.x-develop (8df0556) (develop)
Frappe Framework: v9.x.x-develop (789e374) (develop)
and
ERPNext: v10.0.9 (master)
Frappe Framework: v10.0.10 (master)
Any hint?