Based on some more research and then considering the comment by moderndegree, I have found that the following myDate filter will work:.filter('myDate', function($filter) { var angularDateFilter = $filter('date'); return function(theDate) { return angularDateFilter(theDate, 'dd MMMM @ HH:mm:ss'); }}); 这篇关于设置一个 AngularJS 日期过滤器格式以供对日期过滤器的所有引用使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-02 08:31