angularjs filter 'date' and $locale service

后端 未结 2 397
有刺的猬
有刺的猬 2021-01-17 11:13

it seems that angularjs embed some internationalized resources:

Angular supports i18n/l10n for date, number and currency filters. Additionally, Angu

2条回答
  •  鱼传尺愫
    2021-01-17 11:54

    Finally I found the response on the angular github page: https://github.com/angular/bower-angular-i18n#bower-angular-i18n

    EDIT : more info for what worked for me

    In your root app directory, install resources from bower

    bower install angular-i18n
    

    Add a

    That's it.

提交回复
热议问题