Kartenimport, Metadaten und Versand absichern

This commit is contained in:
Leon Tonhäuser committed 2026-11-05 09:23:44 +01:00
1 parent be6bd49da5
commit 427b6fa7b0
18 files changed
+643 -193

No files matched your search

@@ -413,6 +413,11 @@ final class BugfixTests: XCTestCase {
XCTAssertTrue(lib.sets.first?.enabled ?? false)
}
func testDateOnlyUpdateClearsIIMTimeCreated() {
let arguments = MetadataWriter.dateArguments("2026-11-03", writeIIM: true)
XCTAssertTrue(arguments.contains("-IPTC:TimeCreated="))
}
func testDateCreatedKeepsTimeOfDay() {
var item = PhotoItem(primary: URL(fileURLWithPath: "/x/a.jpg"))
item.apply(fileMeta: ["XMP-photoshop:DateCreated": .string("2026:11:02 18:31:05+01:00")], sidecarMeta: nil)