mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04:00
fix(server): apply timezone to storage template (#3504)
This commit is contained in:
parent
2835919931
commit
ba71c83948
@ -233,7 +233,7 @@ export class StorageTemplateService {
|
|||||||
filetypefull: asset.type == AssetType.IMAGE ? 'IMAGE' : 'VIDEO',
|
filetypefull: asset.type == AssetType.IMAGE ? 'IMAGE' : 'VIDEO',
|
||||||
};
|
};
|
||||||
|
|
||||||
const dt = luxon.DateTime.fromJSDate(asset.fileCreatedAt);
|
const dt = luxon.DateTime.fromJSDate(asset.fileCreatedAt, { zone: asset.exifInfo?.timeZone || undefined });
|
||||||
|
|
||||||
const dateTokens = [
|
const dateTokens = [
|
||||||
...supportedYearTokens,
|
...supportedYearTokens,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user