edit-meta: use AllDates for set

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/653/merge
Varun Patil 2023-11-09 23:43:39 -08:00
parent 6c42d0b8a4
commit c496e0e05a
2 changed files with 2 additions and 2 deletions

View File

@ -243,8 +243,7 @@ export default defineComponent({
// Date header // Date header
const date = this.refs.editDate?.result?.(p); const date = this.refs.editDate?.result?.(p);
if (date) { if (date) {
raw.DateTimeOriginal = date; raw.AllDates = date;
raw.CreateDate = date;
} }
// Orientation // Orientation

View File

@ -144,6 +144,7 @@ declare module '@typings' {
OffsetTimeOriginal?: string; OffsetTimeOriginal?: string;
OffsetTime?: string; OffsetTime?: string;
LocationTZID?: string; LocationTZID?: string;
AllDates?: string; // only for setting
ExposureTime?: number; ExposureTime?: number;
ShutterSpeed?: number; ShutterSpeed?: number;