I have used angular date filter to format and display dates in medium
format. However, how can I automatically detect what locale user have and configure angular to display the correct date format for that particular Country and language? User will not be able to change language in the application, only through configurations in browser (I guess). So its ok to refresh in order to reflect the changes.
Im also using momentjs for other date-functions, but has not used it for this purpose. Maybe I should?
The frontend application is served by nodejs and REST services are used between these two.