1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-01-08 04:03:48 +02:00

Merge pull request #1 from grasdk/feature/kagahd_issue838

Added read of CreationDate to sidecar and fixed tests
This commit is contained in:
Kay Agahd 2024-03-12 07:06:30 +00:00 committed by GitHub
commit f356eae957
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 { export interface SideCarXmp {
Rating?: RatingTypes; Rating?: RatingTypes;
CreateDate?: string;
} }
export const MediaDTOUtils = { 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, "width": 10,
"height": 5 "height": 5
}, },
"creationDate": 1710142352337, "creationDate": 1710188754000,
"fileSize": 4489, "fileSize": 5095,
"keywords": [ "keywords": [
"floor", "floor",
"book" "book"

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

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

View File

@ -1,17 +1,24 @@
<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?> <?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.4.0-Exiv2"> <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:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about="" <rdf:Description rdf:about=""
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:fstop="http://www.fstopapp.com/xmp/" xmlns:fstop="http://www.fstopapp.com/xmp/"
fstop:favorite="0"> fstop:favorite="0">
<dc:subject> <dc:subject>
<rdf:Bag> <rdf:Bag>
<rdf:li>first</rdf:li> <rdf:li>first</rdf:li>
<rdf:li>second</rdf:li> <rdf:li>second</rdf:li>
</rdf:Bag> </rdf:Bag>
</dc:subject> </dc:subject>
</rdf:Description> </rdf:Description>
</rdf:RDF>
<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> </x:xmpmeta>
<?xpacket end="w"?> <?xpacket end="w"?>

View File

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

View File

@ -12,6 +12,12 @@
</rdf:Bag> </rdf:Bag>
</dc:subject> </dc:subject>
</rdf:Description> </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> </rdf:RDF>
</x:xmpmeta> </x:xmpmeta>
<?xpacket end="w"?> <?xpacket end="w"?>

View File

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

View File

@ -11,6 +11,12 @@
</rdf:Bag> </rdf:Bag>
</dc:subject> </dc:subject>
</rdf:Description> </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> </rdf:RDF>
</x:xmpmeta> </x:xmpmeta>
<?xpacket end="w"?> <?xpacket end="w"?>