In my App, I made a for loop that prints a succession of 600 consecutive dates to match a date entered by the user. I used the INTL library for Dates. here is a part of the code:
var date = []; // is the list that will contain all dates.
unformatted_date = Datetime.now(); //or the one entered by the user
for(var i = 1; i<600; i++){
date.add(unformatted_date.add(Duration(days: i)));
}
If for example, I insert as initial date May 5, 2021, the cycle always prints me twice October 30. Even on other Dates, it happens to have two equal. It rarely happens that the Date is not there, that it is not printed