fix: use german locale for time conversion
All checks were successful
Deploy Miniplan / build (push) Successful in 2m11s

This commit is contained in:
Jonas Gerg 2025-04-16 13:57:26 +02:00
parent f27a5121fe
commit a3e115824b

View File

@ -75,7 +75,7 @@ object ZelebrationsplanParser {
return arrayOf(row.getCell(0)?.stringCellValue, row.getCell(1)?.stringCellValue, row.getCell(2)?.stringCellValue, row.getCell(3)?.stringCellValue) return arrayOf(row.getCell(0)?.stringCellValue, row.getCell(1)?.stringCellValue, row.getCell(2)?.stringCellValue, row.getCell(3)?.stringCellValue)
} }
private fun LocalDateTime.toDate() = Date.from(this.atZone(ZoneId.systemDefault()).toInstant()) private fun LocalDateTime.toDate() = Date.from(this.atZone(ZoneId.of("Europe/Berlin")).toInstant())
} }
fun main() { fun main() {