Don't warn instantly on RC

This commit is contained in:
AdrianLxM 2019-12-10 16:05:49 +01:00 committed by GitHub
parent 5816488b31
commit 6b6360d2c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,7 +88,7 @@ object VersionCheckerPlugin : PluginBase(PluginDescription()
enum class GracePeriod(val warning: Long, val old: Long, val veryOld: Long) {
RELEASE(30, 60, 90),
RC(0, 7, 14)
RC(1, 7, 14)
}
private fun Long.daysToMillis() = TimeUnit.DAYS.toMillis(this)
private fun Long.daysToMillis() = TimeUnit.DAYS.toMillis(this)