You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which Transloco package(s) are the source of the bug?
Locale
Is this a regression?
No
Current behavior
When using the localizeDate method global options are not used. The problem is that the options parameter has a default value; thus, the getDefaultOptions method is never invoked.
Is there an existing issue for this?
Which Transloco package(s) are the source of the bug?
Locale
Is this a regression?
No
Current behavior
When using the localizeDate method global options are not used. The problem is that the
options
parameter has a default value; thus, thegetDefaultOptions
method is never invoked.transloco/libs/transloco-locale/src/lib/transloco-locale.service.ts
Line 105 in 45a0287
Expected behavior
If no options are passed the defaults are used.
Please provide a link to a minimal reproduction of the bug, if you won't provide a link the issue won't be handled.
https://codesandbox.io/p/sandbox/frosty-payne-q55l6p
Transloco Config
Browser
No response
Additional context
No response
I would like to make a pull request for this bug
Yes 🚀
The text was updated successfully, but these errors were encountered: