diff --git a/lib/relnotes.js b/lib/relnotes.js index 7f768a6..d9a45b4 100644 --- a/lib/relnotes.js +++ b/lib/relnotes.js @@ -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'));