Skip to content

Conversation

liamdebeasi
Copy link
Contributor

@liamdebeasi liamdebeasi commented Dec 19, 2023

Issue number: Internal


What is the current behavior?

We removed the background color from today's calendar day button if selected when implementing the calendar-day button shadow part feature: 79b005d#diff-8e2912d52559aa44c9c6dc062c8d683e7b51c92c7b7ba420ad6f7587f1e1a61aL139

We did not catch this because we do not have test coverage for this use case. We typically avoid rendering datetime on today's date because "today" could be something totally different depending on the test machine's locale/configuration.

What is the new behavior?

  • Adds the background rule that was removed
  • Added test coverage. I mocked today's date to be a fixed date so it never changes

Does this introduce a breaking change?

  • Yes
  • No

Other information

@liamdebeasi liamdebeasi changed the title Fw 5808 fix(datetime): selected today button renders correctly on ios Dec 19, 2023
@github-actions github-actions bot added the package: core @ionic/core package label Dec 19, 2023
@liamdebeasi liamdebeasi marked this pull request as ready for review December 20, 2023 00:02
@liamdebeasi liamdebeasi added this pull request to the merge queue Dec 20, 2023
Merged via the queue into main with commit 2f99aea Dec 20, 2023
@liamdebeasi liamdebeasi deleted the FW-5808 branch December 20, 2023 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants