Skip to content

Commit

Permalink
fix off-by-one error in release day
Browse files Browse the repository at this point in the history
PR-URL: #13
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
vtjnash committed Mar 2, 2022
1 parent db4c090 commit da4b362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/relnotes.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function generate(git, version, baseVersion, cb) {
output += util.format('%s.%s.%s, Version %s (%s)\n',
date.getUTCFullYear(),
pad(date.getUTCMonth() + 1, 2, '0'),
pad(date.getUTCDate() + 1, 2, '0'),
pad(date.getUTCDate(), 2, '0'),
ver.format(version).slice(1),
(version.suffix.length != 0 ? 'Pre-release' : 'Stable'));

Expand Down

0 comments on commit da4b362

Please sign in to comment.