Skip to content

Commit 6c3e11f

Browse files
authored
chore: use ISO 8601 format in cli test timestamps (#29969)
1 parent 63d6cdd commit 6c3e11f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cli/test/lib/exec/info_spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ describe('exec info', function () {
7878
stable: false,
7979
commitSha: 'abc123',
8080
commitBranch: 'someBranchName',
81-
commitDate: new Date('02-02-2022').toISOString(),
81+
commitDate: new Date('2022-02-02').toISOString(),
8282
})
8383

8484
await startInfoAndSnapshot('logs additional info about pre-releases')

cli/test/lib/tasks/install_spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ describe('/lib/tasks/install', function () {
7878
stable: false,
7979
commitSha: '3b7f0b5c59def1e9b5f385bd585c9b2836706c29',
8080
commitBranch: 'aBranchName',
81-
commitDate: new Date('11-27-1996').toISOString(),
81+
commitDate: new Date('1996-11-27').toISOString(),
8282
}
8383

8484
function runInstall () {

0 commit comments

Comments
 (0)