Conversation
…nfig TranslocoDatePipe spread the global `date` config over the pipe params, so a global `dateStyle` / `timeStyle` combined with params like `year` or `month` produced a mix that `Intl.DateTimeFormat` rejects with "Invalid option". The merge now drops `dateStyle` / `timeStyle` when the params use explicit component options, and vice versa; non-conflicting keys such as `timeZone` are still merged. Closes jsverse#496
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughChangesThe date pipe now uses Date option merging
Suggested reviewers: Merge Risk: ⚪ Minimal · up to The date pipe now avoids incompatible formatting options while preserving compatible settings such as timeZone. No actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
Full details: Description checkExplanation The description explains the defect, the new merge behavior, and links issue Full details: Linked Issues checkExplanation The changes satisfy issue
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
@jsverse/transloco
@jsverse/transloco-keys-manager
@jsverse/transloco-locale
@jsverse/transloco-messageformat
@jsverse/transloco-optimize
@jsverse/transloco-persist-lang
@jsverse/transloco-persist-translations
@jsverse/transloco-preload-langs
@jsverse/transloco-schematics
@jsverse/transloco-scoped-libs
@jsverse/transloco-utils
@jsverse/transloco-validator
commit: |
TranslocoDatePipe spread the global
dateconfig over the pipe params, so a globaldateStyle/timeStylecombined with params likeyearormonthproduced a mix thatIntl.DateTimeFormatrejects with "Invalid option". The merge now dropsdateStyle/timeStylewhen the params use explicit component options, and vice versa; non-conflicting keys such astimeZoneare still merged.Closes #496
Summary by CodeRabbit
Bug Fixes
Tests