Skip to content

fix(ui): formatDate and formatTimeToNow utility type error on i18n arg to support I18nClient too #12576

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

paulpopus
Copy link
Contributor

@paulpopus paulpopus commented May 27, 2025

In one of the versions we've changed the type of the argument from I18n<any, any> to I18n<unknown, unknown> and this has caused some issues with TS resolving the type compatibility in the formatDate utility so it no longer supports I18nClient.

This type change happened in #10030

DanRibbens
DanRibbens previously approved these changes May 27, 2025
@paulpopus paulpopus changed the title fix(ui): formatDate utility type error on i18n arg to support I18nClient too fix(ui): formatDate and formatTimeToNow utility type error on i18n arg to support I18nClient too May 27, 2025
@paulpopus paulpopus enabled auto-merge (squash) May 27, 2025 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants