I want to separate the display from the previous element during ng-repeat
Similar to this question, I would like to put a partition on the list when the date changes (e.g., when I straddle the date from June 9th to June 10th), but it doesn't work, so please give me some advice.
In the answer above,
It was written that you can write like this.So,
In and ng-if, I wrote the conditions for comparing dates with reference to the answer above.
appears to be an error.
Since it is an object from nifty mbaas, we are getting the date as .attributes.updateDate.
(The date data is in the format 2015-06-10T15:15:48.754Z.)
Since ng-if starts with で, enclose MM/dd with 』 『 instead of 』 で
This seems to be all right, but for some reason, it didn't work properly without toString the results.
© 2023 OneMinuteCode. All rights reserved.