Skip to content

Commit

Permalink
fix: fix release date to be august 29th and not august 30th
Browse files Browse the repository at this point in the history
  • Loading branch information
AtofStryker committed Aug 30, 2023
1 parent 05afa1e commit 6d643d1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions cli/CHANGELOG.md
Expand Up @@ -7,6 +7,10 @@ _Released 09/12/2023 (PENDING)_

- Introduce a status icon representing the `latest` test run in the Sidebar for the Runs Page. Addresses [#27206](https://github.com/cypress-io/cypress/issues/27206).

**Bugfixes:**

- Fixed an issue where the release date on the `v13` landing page was a day ahead. Fixed in [#27711](https://github.com/cypress-io/cypress/issues/27711).

## 13.0.0

_Released 08/29/2023_
Expand Down
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 6d643d1

Please sign in to comment.