fix(server): apply timezone to storage template (#3504)
This commit is contained in:
parent
2835919931
commit
ba71c83948
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ export class StorageTemplateService {
|
|||
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 = [
|
||||
...supportedYearTokens,
|
||||
|
|
Loading…
Reference in a new issue