Skip to content

Commit

Permalink
Fix vintage in certificates (#2191)
Browse files Browse the repository at this point in the history
Co-authored-by: Atmosfearful <88635679+Atmosfearful@users.noreply.github.com>
  • Loading branch information
biwano and Atmosfearful authored Jan 29, 2024
1 parent 43e6d1d commit bcc2776
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions carbonmark/lib/retirementCertificates/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,7 @@ export const generateCertificate = (params: Params): PDFKit.PDFDocument => {
},
{
label: "VINTAGE: ",
value: new Date(Number(params.retirement.retire.credit.vintage) * 1000)
.getFullYear()
.toString(),
value: params.retirement.retire.credit.vintage,
},
];

Expand Down

0 comments on commit bcc2776

Please sign in to comment.