parent
e787b1c14e
commit
37c2065129
|
@ -49,7 +49,7 @@
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { IPhoto } from '../../types';
|
import { IExif, IPhoto } from '../../types';
|
||||||
|
|
||||||
import UserConfig from '../../mixins/UserConfig';
|
import UserConfig from '../../mixins/UserConfig';
|
||||||
import NcButton from '@nextcloud/vue/dist/Components/NcButton';
|
import NcButton from '@nextcloud/vue/dist/Components/NcButton';
|
||||||
|
@ -186,7 +186,7 @@ export default defineComponent({
|
||||||
const fileid = p.fileid;
|
const fileid = p.fileid;
|
||||||
|
|
||||||
// Basic EXIF fields
|
// Basic EXIF fields
|
||||||
const raw = JSON.parse(JSON.stringify(exifResult));
|
const raw: IExif = JSON.parse(JSON.stringify(exifResult));
|
||||||
|
|
||||||
// Date
|
// Date
|
||||||
const date = (<any>this.$refs.editDate)?.result?.(p);
|
const date = (<any>this.$refs.editDate)?.result?.(p);
|
||||||
|
|
|
@ -127,6 +127,8 @@ export interface IExif {
|
||||||
Make?: string;
|
Make?: string;
|
||||||
Model?: string;
|
Model?: string;
|
||||||
|
|
||||||
|
CreateDate?: string;
|
||||||
|
DateTimeOriginal?: string;
|
||||||
DateTimeEpoch?: number;
|
DateTimeEpoch?: number;
|
||||||
OffsetTimeOriginal?: string;
|
OffsetTimeOriginal?: string;
|
||||||
OffsetTime?: string;
|
OffsetTime?: string;
|
||||||
|
|
Loading…
Reference in New Issue