Code: Select all
Exception { message: "Could not convert Native argument a…", result: 2153185290, name: "NS_ERROR_XPC_BAD_CONVERT_NATIVE", filename: "jar:file:///C:/Program%20Files/Pale…", lineNumber: 364, columnNumber: 0, data: null, stack: "openModalWindow@jar:file:///C:/Prog…", location: XPCWrappedNative_NoHelper } for Error: No such property on self-hosted object: "get format"
The code calling this is
Code: Select all
function format_as_hh_mm_ss(date)
{
return As_HH_MM_SS.format(date);
}
Code: Select all
const As_HH_MM_SS = new Intl.DateTimeFormat(
[],
{ hour: "numeric", minute: "numeric", second: "numeric", hour12: false }
);
Code: Select all
format_as_hh_mm_ss(new Date())