From 6019932d71cdf48f3447377bc87dc489de7857f1 Mon Sep 17 00:00:00 2001 From: gras Date: Wed, 3 Apr 2024 23:00:58 +0200 Subject: [PATCH] another linting fix --- src/common/Utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/Utils.ts b/src/common/Utils.ts index 7b30703e..49a89307 100644 --- a/src/common/Utils.ts +++ b/src/common/Utils.ts @@ -145,7 +145,7 @@ export class Utils { static timestampToOffsetString(timestamp: string) { try { const offsetRegex = /[+-]\d{2}:\d{2}$/; - let match = timestamp.match(offsetRegex); + const match = timestamp.match(offsetRegex); if (match) { return match[0]; } else if (timestamp.indexOf("Z") > 0) {