mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
Syntax corrections for Lint
This commit is contained in:
parent
7cb1f1ff87
commit
66e35156cc
11 changed files with 25 additions and 25 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue