mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-18 08:15:26 +02:00
Use 365 days to compute date difference
This commit is contained in:
parent
05c8513249
commit
bbaf17233f
@ -112,7 +112,7 @@ internal fun ZonedDateTime.minus(
|
||||
)
|
||||
}
|
||||
|
||||
private val yearInSeconds by lazy { BigDecimal("31104000") }
|
||||
private val yearInSeconds by lazy { BigDecimal("31536000") }
|
||||
private val monthsInSeconds by lazy { BigDecimal("2592000") }
|
||||
private val dayInSeconds by lazy { BigDecimal("86400") }
|
||||
private val hourInSeconds by lazy { BigDecimal("3600") }
|
||||
|
Loading…
x
Reference in New Issue
Block a user