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

@ -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;