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
localization - format number and date #409
Comments
Why dont you use the
|
@emoralesb05 but the date pipe only can be used in chrome and opear And we may would like to do the translation using the same way but no using different pipe. Is it possible to consider develop localization for date and number in ng2-translate? |
You can use the intl polyfill to make it work everywhere... |
FWIW - the following worked for me for dates. I assume the number related pipes would be equally trivial:
|
@rdukeshier keep in mind that setting the pipe |
Hello, I'm closing this issue because it's too old. The new i18n pipes in Angular no longer use the intl API. |
I cannot find the feature to do localization for number and date. Do I miss something? If not, will that be implemented in the future? I thing it is easy to do that. I suggest to use the ECMAScript Internationalization API - Init. Check Init here: https://developer.mozilla.org/it/docs/Web/JavaScript/Reference/Global_Objects/Intl
thanks,
The text was updated successfully, but these errors were encountered: