mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-18 16:25:27 +02:00
Merge pull request #41 from crisp5/date-diff-365days-patch
This commit is contained in:
commit
bc62f7ec98
@ -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 monthsInSeconds by lazy { BigDecimal("2592000") }
|
||||||
private val dayInSeconds by lazy { BigDecimal("86400") }
|
private val dayInSeconds by lazy { BigDecimal("86400") }
|
||||||
private val hourInSeconds by lazy { BigDecimal("3600") }
|
private val hourInSeconds by lazy { BigDecimal("3600") }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user