fix: use german locale for time conversion
All checks were successful
Deploy Miniplan / build (push) Successful in 2m11s
All checks were successful
Deploy Miniplan / build (push) Successful in 2m11s
This commit is contained in:
parent
f27a5121fe
commit
a3e115824b
@ -75,7 +75,7 @@ object ZelebrationsplanParser {
|
||||
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() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user