Closed ahmedkhairydev closed 3 years ago
Hi @ahmedkhairydev
Just tested with ngx-moment 5.0. Locale was chosen correctly.
Hi @sergey-morenets
Thanks for your support The issue is resolved but the sequence of the pipes should be correct! 😂
Right Way
<span class="time"> {{ row.dateModified | amFromUtc | amLocal | amLocale: 'en' | amDateFormat: 'hh:mm a' }} </span>
Wrong Way
<span class="time"> {{ row.dateModified | amLocale: 'en' | amFromUtc | amLocal | amDateFormat: 'hh:mm a' }} </span>
Description of the Issue and Steps to Reproduce:
Did you search for duplicate issue? [Yes / No] Yes.
I can't use amLocale with amLocal. amLocal doesn't work correctly. amLocal working correctly when using it without amLocale. when using amLocal the time becomes to be in Arabic character
Preview![image](https://user-images.githubusercontent.com/15922118/84249239-cc125e80-ab0a-11ea-87d2-1b2f176406da.png)
Version
Environment: