date pipe set locale angular code example
Example: angular date pipi locale
<p>French date time is {{todayDate | date:'full':'+0200':'fr'}}</p>
Result:
French date time is mercredi 19 juin 2019 à 13:25:15 GMT+02:00
<p>French date time is {{todayDate | date:'full':'+0200':'fr'}}</p>
Result:
French date time is mercredi 19 juin 2019 à 13:25:15 GMT+02:00