I have tried some solutions before i found this bug,
An extract of metadata made with exiftool (libimage-exiftool-perl 9.46-1) shows an important difference on a document that displaying dates right, and one sample print-to-file, the tags for PDF related date info is totally missing:
-PDF:CreateDate=
-PDF:ModifyDate=
Example command:
exiftool -args -G1 --filename --directory PDF_FILE_NAME.PDF
Example output of PDF with working dates:
-ExifTool:ExifToolVersion=9.46
-System:FileSize=3.2 MB
-System:FileModifyDate=2015:11:02 14:37:59+01:00
-System:FileAccessDate=2018:02:22 01:49:42+01:00
-System:FileInodeChangeDate=2015:11:02 14:37:59+01:00
-System:FilePermissions=rw-r-----
-File:FileType=PDF
-File:MIMEType=application/pdf
-PDF:PDFVersion=1.5
-PDF:Linearized=No
-PDF:PageCount=89
-PDF:Language=en-US
-PDF:TaggedPDF=Yes
-PDF:Title=XenServer 6.x Best Practices
-PDF:Author=Daily, Camille
-PDF:Keywords=Minimum Restrictions, No Restrictions
-PDF:Creator=Microsoft® Word 2013
-PDF:CreateDate=2013:10:30 08:44:27-05:00
-PDF:ModifyDate=2013:10:30 08:44:27-05:00
-PDF:Producer=Microsoft® Word 2013
I have tried some solutions before i found this bug,
An extract of metadata made with exiftool (libimage- exiftool- perl 9.46-1) shows an important difference on a document that displaying dates right, and one sample print-to-file, the tags for PDF related date info is totally missing:
-PDF:CreateDate=
-PDF:ModifyDate=
Example command:
exiftool -args -G1 --filename --directory PDF_FILE_NAME.PDF
Example output of Print-to-File: ExifToolVersion =9.46 FileSize= 107 kB FileModifyDate= 2018:02: 22 00:56:18+01:00 FileAccessDate= 2018:02: 22 00:56:40+01:00 FileInodeChange Date=2018: 02:22 01:30:18+01:00 FilePermissions =rw-rw- r-- application/ pdf cairographics. org) cairographics. org)
-ExifTool:
-System:
-System:
-System:
-System:
-System:
-File:FileType=PDF
-File:MIMEType=
-PDF:PDFVersion=1.5
-PDF:Linearized=No
-PDF:PageCount=1
-PDF:Creator=cairo 1.13.1 (http://
-PDF:Producer=cairo 1.13.1 (http://
Example output of PDF with working dates: ExifToolVersion =9.46 FileSize= 3.2 MB FileModifyDate= 2015:11: 02 14:37:59+01:00 FileAccessDate= 2018:02: 22 01:49:42+01:00 FileInodeChange Date=2015: 11:02 14:37:59+01:00 FilePermissions =rw-r-- --- application/ pdf XenServer 6.x Best Practices Minimum Restrictions, No Restrictions Microsoft® Word 2013 =2013:10: 30 08:44:27-05:00 =2013:10: 30 08:44:27-05:00 Microsoft® Word 2013
-ExifTool:
-System:
-System:
-System:
-System:
-System:
-File:FileType=PDF
-File:MIMEType=
-PDF:PDFVersion=1.5
-PDF:Linearized=No
-PDF:PageCount=89
-PDF:Language=en-US
-PDF:TaggedPDF=Yes
-PDF:Title=
-PDF:Author=Daily, Camille
-PDF:Keywords=
-PDF:Creator=
-PDF:CreateDate
-PDF:ModifyDate
-PDF:Producer=
evince 3.10.3-0ubuntu10.4 amd64 20140204- 0ubuntu1. 1 amd64
libcairo2 1.13.0~
Description: Ubuntu 14.04.5 LTS
Kernel: Linux 3.13.0-142-generic #191-Ubuntu SMP x86_64