mirror of
https://github.com/immich-app/immich.git
synced 2025-03-29 03:09:38 +01:00
fix(server): don't warn about missing timezone (#16211)
fix(server): don't warn about timezone
This commit is contained in:
parent
aeb3e0a84f
commit
31dc83f3f2
1 changed files with 2 additions and 2 deletions
|
@ -601,7 +601,7 @@ export class MetadataService extends BaseService {
|
||||||
if (timeZone) {
|
if (timeZone) {
|
||||||
this.logger.verbose(`Asset ${asset.id} timezone is ${timeZone} (via ${exifTags.tzSource})`);
|
this.logger.verbose(`Asset ${asset.id} timezone is ${timeZone} (via ${exifTags.tzSource})`);
|
||||||
} else {
|
} 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();
|
let dateTimeOriginal = dateTime?.toDate();
|
||||||
|
@ -641,7 +641,7 @@ export class MetadataService extends BaseService {
|
||||||
// TODO take ref into account
|
// TODO take ref into account
|
||||||
|
|
||||||
if (latitude === 0 && longitude === 0) {
|
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;
|
latitude = null;
|
||||||
longitude = null;
|
longitude = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue