Sort all entries after evaluation

This commit is contained in:
Joscha 2021-12-06 14:33:22 +00:00
parent 3e70b2e2c9
commit efa9b7de03
3 changed files with 19 additions and 12 deletions

View file

@ -78,7 +78,7 @@ impl Dates {
self.times.map(|times| times.other)
}
fn start_end(&self) -> (NaiveDate, NaiveDate) {
pub fn start_end(&self) -> (NaiveDate, NaiveDate) {
if self.root <= self.other {
(self.root, self.other)
} else {