Syntax corrections for Lint
This commit is contained in:
parent
7cb1f1ff87
commit
66e35156cc
@ -45,7 +45,7 @@ class ToWindows64bitTimestamp extends Operation {
|
|||||||
let result = d.unix();
|
let result = d.unix();
|
||||||
const step1 = result + 11644473600;
|
const step1 = result + 11644473600;
|
||||||
const hexString = (step1 * 10000000).toString(16);
|
const hexString = (step1 * 10000000).toString(16);
|
||||||
eturn showDateTime ? `${hexString.toUpperCase()} (${d.tz("UTC").format("ddd D MMMM YYYY HH:mm:ss")} UTC)` : hexString.toUpperCase();
|
return showDateTime ? `${hexString.toUpperCase()} (${d.tz("UTC").format("ddd D MMMM YYYY HH:mm:ss")} UTC)` : hexString.toUpperCase();
|
||||||
} catch {
|
} catch {
|
||||||
throw new OperationError("Unrecognised format");
|
throw new OperationError("Unrecognised format");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user