Skip to content

Commit 470bcf1

Browse files
RafaelGSSaduh95
andauthored
Update lib/prepare_release.js
Co-authored-by: Antoine du Hamel <[email protected]>
1 parent e665835 commit 470bcf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/prepare_release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default class ReleasePreparation extends Session {
2525
this.isLTS = false;
2626
this.isLTSTransition = argv.startLTS;
2727
this.runBranchDiff = !argv.skipBranchDiff;
28-
this.defaultReleaseDate = argv.releaseDate ?? new Date().toISOString().split('T')[0];
28+
this.defaultReleaseDate = argv.releaseDate ?? new Date().toISOString().slice(0, 10);
2929
this.ltsCodename = '';
3030
this.date = '';
3131
this.filterLabels = argv.filterLabel && argv.filterLabel.split(',');

0 commit comments

Comments
 (0)