1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-08 23:07:06 +02:00

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

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

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;
}