From 32632668ae1dede90c6e467cba2cdbb88b1803ef Mon Sep 17 00:00:00 2001 From: gras Date: Thu, 9 May 2024 21:40:18 +0200 Subject: [PATCH] added setting for ignoring timezone --- src/common/config/public/ClientConfig.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/common/config/public/ClientConfig.ts b/src/common/config/public/ClientConfig.ts index 5d24388d..7e003a75 100644 --- a/src/common/config/public/ClientConfig.ts +++ b/src/common/config/public/ClientConfig.ts @@ -1082,6 +1082,15 @@ export class ClientGalleryConfig { }) enableDirectorySortingByDate: boolean = false; + @ConfigProperty({ + tags: { + name: $localize`Ignore timestamp offsets`, + priority: ConfigPriority.advanced, + }, + description: $localize`If enabled, timestamp offsets are ignored and the local time of photos are used for searching, sorting and grouping. If disabled, global time is used and pictures with no timestamp are assumed to be in UTC (offset +00:00).` + }) + ignoreTimestampOffset: boolean = true; + @ConfigProperty({ tags: { name: $localize`On scroll thumbnail prioritising`,