mirror of
https://github.com/foliojs/pdfkit.git
synced 2025-12-08 20:15:54 +00:00
Merge pull request #449 from muchavie/meta-data-fixes
add 1 to javascript month for pdf month num
This commit is contained in:
commit
24a6745424
@ -64,7 +64,7 @@ class PDFObject
|
||||
|
||||
else if object instanceof Date
|
||||
'(D:' + pad(object.getUTCFullYear(), 4) +
|
||||
pad(object.getUTCMonth(), 2) +
|
||||
pad(object.getUTCMonth() + 1, 2) +
|
||||
pad(object.getUTCDate(), 2) +
|
||||
pad(object.getUTCHours(), 2) +
|
||||
pad(object.getUTCMinutes(), 2) +
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user