Syntax corrections for Lint

This commit is contained in:
mykulh 2024-06-14 11:31:48 +01:00
parent 7cb1f1ff87
commit 66e35156cc
11 changed files with 25 additions and 25 deletions

View file

@ -45,7 +45,7 @@ class ToWindows64bitTimestamp extends Operation {
let result = d.unix();
const step1 = result + 11644473600;
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 {
throw new OperationError("Unrecognised format");
}