mirror of
https://github.com/bpatrik/pigallery2.git
synced 2024-12-23 01:27:14 +02:00
Added read of CreationDate to sidecar and fixed tests
This commit is contained in:
parent
a2fc61320d
commit
390e24a2c4
File diff suppressed because it is too large
Load Diff
@ -40,6 +40,7 @@ export interface SideCarDc {
|
||||
|
||||
export interface SideCarXmp {
|
||||
Rating?: RatingTypes;
|
||||
CreateDate?: string;
|
||||
}
|
||||
|
||||
export const MediaDTOUtils = {
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 5.0 KiB |
@ -3,8 +3,8 @@
|
||||
"width": 10,
|
||||
"height": 5
|
||||
},
|
||||
"creationDate": 1710142352337,
|
||||
"fileSize": 4489,
|
||||
"creationDate": 1710188754000,
|
||||
"fileSize": 5095,
|
||||
"keywords": [
|
||||
"floor",
|
||||
"book"
|
||||
|
BIN
test/backend/assets/sidecar/metadata.jpg_original
Normal file
BIN
test/backend/assets/sidecar/metadata.jpg_original
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.4 KiB |
@ -3,7 +3,7 @@
|
||||
"width": 10,
|
||||
"height": 5
|
||||
},
|
||||
"creationDate": 1710142352343,
|
||||
"creationDate": 1542482851000,
|
||||
"fileSize": 1430,
|
||||
"keywords": [
|
||||
"first",
|
||||
|
@ -1,17 +1,24 @@
|
||||
<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
|
||||
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.4.0-Exiv2">
|
||||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
||||
<rdf:Description rdf:about=""
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:fstop="http://www.fstopapp.com/xmp/"
|
||||
fstop:favorite="0">
|
||||
<dc:subject>
|
||||
<rdf:Bag>
|
||||
<rdf:li>first</rdf:li>
|
||||
<rdf:li>second</rdf:li>
|
||||
</rdf:Bag>
|
||||
</dc:subject>
|
||||
</rdf:Description>
|
||||
</rdf:RDF>
|
||||
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
||||
<rdf:Description rdf:about=""
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:fstop="http://www.fstopapp.com/xmp/"
|
||||
fstop:favorite="0">
|
||||
<dc:subject>
|
||||
<rdf:Bag>
|
||||
<rdf:li>first</rdf:li>
|
||||
<rdf:li>second</rdf:li>
|
||||
</rdf:Bag>
|
||||
</dc:subject>
|
||||
</rdf:Description>
|
||||
|
||||
<rdf:Description rdf:about=''
|
||||
xmlns:xmp='http://ns.adobe.com/xap/1.0/'>
|
||||
<xmp:CreateDate>2018-11-17T20:27:31+01:00</xmp:CreateDate>
|
||||
<xmp:MetadataDate>2018-11-17T20:27:31+01:00</xmp:MetadataDate>
|
||||
<xmp:ModifyDate>2018-11-17T20:27:31+01:00</xmp:ModifyDate>
|
||||
</rdf:Description>
|
||||
</rdf:RDF>
|
||||
</x:xmpmeta>
|
||||
<?xpacket end="w"?>
|
||||
<?xpacket end="w"?>
|
@ -3,7 +3,7 @@
|
||||
"width": 10,
|
||||
"height": 5
|
||||
},
|
||||
"creationDate": 1710142352347,
|
||||
"creationDate": 1542482851000,
|
||||
"fileSize": 1430,
|
||||
"keywords": [
|
||||
"first",
|
||||
|
@ -12,6 +12,12 @@
|
||||
</rdf:Bag>
|
||||
</dc:subject>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about=''
|
||||
xmlns:xmp='http://ns.adobe.com/xap/1.0/'>
|
||||
<xmp:CreateDate>2018-11-17T20:27:31+01:00</xmp:CreateDate>
|
||||
<xmp:MetadataDate>2018-11-17T20:27:31+01:00</xmp:MetadataDate>
|
||||
<xmp:ModifyDate>2018-11-17T20:27:31+01:00</xmp:ModifyDate>
|
||||
</rdf:Description>
|
||||
</rdf:RDF>
|
||||
</x:xmpmeta>
|
||||
<?xpacket end="w"?>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"width": 10,
|
||||
"height": 5
|
||||
},
|
||||
"creationDate": 1710142352352,
|
||||
"creationDate": 1542482851000,
|
||||
"fileSize": 1430,
|
||||
"keywords": [
|
||||
"first"
|
||||
|
@ -11,6 +11,12 @@
|
||||
</rdf:Bag>
|
||||
</dc:subject>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about=''
|
||||
xmlns:xmp='http://ns.adobe.com/xap/1.0/'>
|
||||
<xmp:CreateDate>2018-11-17T20:27:31+01:00</xmp:CreateDate>
|
||||
<xmp:MetadataDate>2018-11-17T20:27:31+01:00</xmp:MetadataDate>
|
||||
<xmp:ModifyDate>2018-11-17T20:27:31+01:00</xmp:ModifyDate>
|
||||
</rdf:Description>
|
||||
</rdf:RDF>
|
||||
</x:xmpmeta>
|
||||
<?xpacket end="w"?>
|
||||
|
Loading…
Reference in New Issue
Block a user