I got a view in angularjs and I'm just trying to display the current date(formatted).(我在angularjs中有一个视图,我只是想显示当前日期(格式化)。)
I thought something like <span>{{Date.now() | date:'yyyy-MM-dd'}}</span>
(我<span>{{Date.now() | date:'yyyy-MM-dd'}}</span>
) <span>{{Date.now() | date:'yyyy-MM-dd'}}</span>
should display the current date.(<span>{{Date.now() | date:'yyyy-MM-dd'}}</span>
应显示当前日期。)
ask by Evo_x translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…