mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-23 00:06:17 -04:00
Syntax corrections for Lint
This commit is contained in:
parent
7cb1f1ff87
commit
66e35156cc
11 changed files with 25 additions and 25 deletions
|
@ -35,7 +35,7 @@ class FromChromeBrowserTimestamp extends Operation {
|
|||
* @throws {OperationError} if invalid unit
|
||||
*/
|
||||
run(input, args) {
|
||||
try{
|
||||
try {
|
||||
const d = moment.unix((input /1000000) - 11644473600);
|
||||
return d.tz("UTC").format("ddd D MMMM YYYY HH:mm:ss") + " UTC";
|
||||
} catch {
|
||||
|
@ -43,4 +43,4 @@ class FromChromeBrowserTimestamp extends Operation {
|
|||
}
|
||||
}
|
||||
}
|
||||
export default FromChromeBrowserTimestamp;
|
||||
export default FromChromeBrowserTimestamp;
|
Loading…
Add table
Add a link
Reference in a new issue