I am configuring an admin panel with ng-admin
+ AngularJs
, I tried to set a date filter:
nga.field('created-at', 'date')
.label('Created At')
.format('yyyy-MM-dd')
.defaultValue('2016-10-21')
The problem arises when I click on the date picker. The weeks’ numbers on the left are replaced with NaN (Not A Number) and the days names in the top are replaced with null.