Skip to content

Metadata: Add TakenAtLocal to YAML backup files #3338

@jacklimme

Description

@jacklimme

1. What is not working as documented?

I try to recover my backup (I have the storage and the original folder) but after indexing, I realize that the date/time is incorrect. Upon investigation, I find that photoprism incorrectly show the UTC time as the local time.

https://streamable.com/on2a2b

2. How can we reproduce it?

Steps to reproduce the behavior:

  1. Change time of an image to 00:25, timezone GMT +8
  2. Reset the database
  3. Index
  4. See error

3. What behavior do you expect?

Expect to see 00:25 GMT +8, see 16:25 GMT +8 on the previous date instead

5. Can you provide us with example files for testing, error logs, or screenshots?

Here's the image and the yaml sidecar used in the video.
test.zip

6. Which software versions do you use?

(a) PhotoPrism Architecture & Build Number: AMD64, Build 21118-e58fee0fb
(b) Database Type & Version: mysql Ver 15.1 Distrib 10.10.3-MariaDB
(c) Operating System Types & Versions: WSL2 on Windows 10

Metadata

Metadata

Labels

metadataRelated to Exif, XMP, IPTC & Co.releasedAvailable in a stable release

Type

No type
No fields configured for issues without a type.

Projects

Status
Release 🌈

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions