fix: utc time zone upserts (#26258)

fix: utc timezone upserts
This commit is contained in:
Daniel Dietzler
2026-02-17 18:59:52 +01:00
committed by GitHub
parent 3f41916ad7
commit 8f9ea6a171
3 changed files with 71 additions and 8 deletions

View File

@@ -919,7 +919,7 @@ describe(MetadataService.name, () => {
Orientation: 0,
ProfileDescription: 'extensive description',
ProjectionType: 'equirectangular',
tz: 'UTC-11:30',
zone: 'UTC-11:30',
TagsList: ['parent/child'],
Rating: 3,
};
@@ -955,7 +955,7 @@ describe(MetadataService.name, () => {
orientation: tags.Orientation?.toString(),
profileDescription: tags.ProfileDescription,
projectionType: 'EQUIRECTANGULAR',
timeZone: tags.tz,
timeZone: tags.zone,
rating: tags.Rating,
country: null,
state: null,
@@ -987,7 +987,7 @@ describe(MetadataService.name, () => {
const tags: ImmichTags = {
DateTimeOriginal: ExifDateTime.fromISO(someDate + '+00:00'),
tz: undefined,
zone: undefined,
};
mocks.assetJob.getForMetadataExtraction.mockResolvedValue(asset);
mockReadTags(tags);