You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-09-16 09:16:27 +02:00
another linting fix
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user