1
0
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:
grasdk 2024-03-11 23:47:44 +01:00
parent a2fc61320d
commit 390e24a2c4
11 changed files with 705 additions and 682 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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

View File

@ -3,8 +3,8 @@
"width": 10,
"height": 5
},
"creationDate": 1710142352337,
"fileSize": 4489,
"creationDate": 1710188754000,
"fileSize": 5095,
"keywords": [
"floor",
"book"

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

@ -3,7 +3,7 @@
"width": 10,
"height": 5
},
"creationDate": 1710142352343,
"creationDate": 1542482851000,
"fileSize": 1430,
"keywords": [
"first",

View File

@ -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"?>

View File

@ -3,7 +3,7 @@
"width": 10,
"height": 5
},
"creationDate": 1710142352347,
"creationDate": 1542482851000,
"fileSize": 1430,
"keywords": [
"first",

View File

@ -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"?>

View File

@ -3,7 +3,7 @@
"width": 10,
"height": 5
},
"creationDate": 1710142352352,
"creationDate": 1542482851000,
"fileSize": 1430,
"keywords": [
"first"

View File

@ -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"?>