Using AngularJS date filter with UTC date

后端 未结 10 2277
無奈伤痛
無奈伤痛 2020-11-28 07:35

I have an UTC date in milliseconds which I am passing to Angular\'s date filter for human formatting.

{{someDate | date:\'d MMMM yyyy\'}}

A

10条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-28 07:48

    There is a bug filed against this in angular.js repo https://github.com/angular/angular.js/issues/6546#issuecomment-36721868

提交回复
热议问题