Uh oh!
There was an error while loading. Please reload this page.
Feat/add missing translations - #1046
Conversation
Coverage Report
File CoverageNo changed files found. |
scheidtdav
left a comment
There was a problem hiding this comment.
Looking good. Lets just figure out what we do with date-fns :-) I saw that even functions like formatDistanceToNow can be achieved using Intl.RelativeTimeFormat.
| title={t('last_updated')} | ||
| text={format(new Date(data.device.updatedAt), 'PPP', { | ||
| locale: dateLocale, | ||
| })} |
There was a problem hiding this comment.
Do we want to commit on using date-fns?Intl.DateTimeFormat is well supported and browser-native.
Personally I prefer having that to reduce imports, dependencies and potentially amount of code.
But I am totally willing to be proven differently.
Using Intl.DateTimeFormat this would be (and it passes the i18n.locale directly, which is nice):
new Intl.DateTimeFormat(i18n.language, {
year: 'numeric',
month: 'long',
day: 'numeric',
}).format(new Date(data.device.updatedAt));
Does new Date(data.device.updatedAt).toLocaleString(i18n.language) maybe work too?
Warning Review limit reached
Next review available in:12 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (17)
Comment |
jona159
commented
Aug 12, 2026
I am on the same page on the issue of reducing dependencies, i removed the |
Type of Change
Implementation
Checklist
devbranchAdditional Information