Commit graph

6 commits

Author SHA1 Message Date
Luca Carlon
9a699f234d
Metadata: When parsing dates from exiftool, remap year 0 to 1 (#2508)
Year 0 is frequently used in exiftool but is not accepted in the Go time
package. time package uses year 1 for "zero" dates instead. Therefore,
remap year 0 from exiftool to year 1.
2023-06-29 10:36:16 +02:00
theresa
cafe615ab5 Tests: Add DateTime unit test 2022-11-03 17:30:08 +01:00
Michael Mayer
c7ad17b60c Metadata: Ignore unknown values when parsing timestamps #2510
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-22 12:38:25 +02:00
Michael Mayer
1af2d295f0 Metadata/Nextcloud: Parse Two-Digit Years in Original File Paths #2271 2022-04-22 19:48:31 +02:00
Michael Mayer
e1996f80b3 Exif: Ignore IFD1 tags with existing IFD0 values #2231
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-09 19:56:38 +02:00
Michael Mayer
680686185f Metadata: Improve parsing of (incomplete) timestamp strings #625 #2133 2022-03-25 16:31:09 +01:00
Renamed from pkg/txt/time_test.go (Browse further)