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: libuv#13
Reviewed-By: Ben Noordhuis <[email protected]>
  • Loading branch information
vtjnash committed Aug 24, 2021
1 parent 5329530 commit 656ea63
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 656ea63

Please sign in to comment.