Skip to content

Commit

Permalink
fix: fix release date to be auguest 29th and not auguest 30th
Browse files Browse the repository at this point in the history
  • Loading branch information
AtofStryker committed Aug 30, 2023
1 parent 05afa1e commit 4f2c1ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -33,7 +33,7 @@ describe('<MajorVersionWelcome />', { viewportWidth: 1280, viewportHeight: 1400
})

it('renders correct time for releases and overflows correctly', () => {
cy.clock(Date.UTC(2023, 7, 30))
cy.clock(Date.UTC(2023, 7, 29))
cy.mount(<MajorVersionWelcome />)
cy.contains('13.0.0 Released just now')
cy.contains('12.0.0 Released 9 months ago')
Expand Down
2 changes: 1 addition & 1 deletion packages/launchpad/src/migration/MajorVersionWelcome.vue
Expand Up @@ -227,7 +227,7 @@ const versionReleaseDates = computed(() => {
'10': useTimeAgo(Date.UTC(2022, 5, 1)).value,
'11': useTimeAgo(Date.UTC(2022, 10, 8)).value,
'12': useTimeAgo(Date.UTC(2022, 11, 6)).value,
'13': useTimeAgo(Date.UTC(2023, 7, 30)).value,
'13': useTimeAgo(Date.UTC(2023, 7, 29)).value,
}
})
Expand Down

0 comments on commit 4f2c1ea

Please sign in to comment.