Consistent data formatting

This commit is contained in:
Guntis Smaukstelis
2025-02-05 23:35:40 +02:00
parent 9c8902e746
commit af9debbb2e
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ object FileName {
.withNano(0)
}
// TODO make default count to 62 or 60
// TODO make default count to 61
def generateTimeList(initialTime: ZonedDateTime, interval: Int = 1, count: Int = 5): List[ZonedDateTime] = {
(0 until count).map(id => initialTime.plusHours(id * interval)).toList
}