-
-
Notifications
You must be signed in to change notification settings - Fork 2
Offer TypeScript format functions #219
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
Angular offers TypeScript functions to make the logic of their i18n pipes available also in TypeScript code, i.e. the formatDate() function. It would be useful to have such functions available also for the pipes in this package.
Proposed Solution
For each pipe, there is a TypeScript function exposed, which performs the base logic of the pipe, i.e. intlFormatDate().
Alternatives considered
There might be workarounds like constructing or injecting the pipe, but this is not good practice and could cause issues.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request