1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-03-25 17:32:33 +01:00

fix(server): don't warn about missing timezone ()

fix(server): don't warn about timezone
This commit is contained in:
Jonathan Jogenfors 2025-02-19 20:21:13 +01:00 committed by GitHub
parent aeb3e0a84f
commit 31dc83f3f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -601,7 +601,7 @@ export class MetadataService extends BaseService {
if (timeZone) {
this.logger.verbose(`Asset ${asset.id} timezone is ${timeZone} (via ${exifTags.tzSource})`);
} else {
this.logger.warn(`Asset ${asset.id} has no time zone information`);
this.logger.debug(`Asset ${asset.id} has no time zone information`);
}
let dateTimeOriginal = dateTime?.toDate();
@ -641,7 +641,7 @@ export class MetadataService extends BaseService {
// TODO take ref into account
if (latitude === 0 && longitude === 0) {
this.logger.warn('Latitude and longitude of 0, setting to null');
this.logger.debug('Latitude and longitude of 0, setting to null');
latitude = null;
longitude = null;
}