From 280ca97bd0591d46f47f3143641a470a8704b634 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 14 Oct 2019 15:02:54 +0200 Subject: Change deprecation level to ERROR on the Date type. --- src/main/kotlin/pl/treksoft/kvision/types/Date.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/kotlin/pl/treksoft/kvision/types/Date.kt b/src/main/kotlin/pl/treksoft/kvision/types/Date.kt index 165bd723..4af141f7 100644 --- a/src/main/kotlin/pl/treksoft/kvision/types/Date.kt +++ b/src/main/kotlin/pl/treksoft/kvision/types/Date.kt @@ -31,7 +31,7 @@ import kotlin.js.Date const val KV_DEFAULT_DATE_FORMAT = "YYYY-MM-DD HH:mm:ss" -@Deprecated("Compatibility with KVision 1. Use LocalDateTime or OffsetDateTime instead.") +@Deprecated("Not supported in KVision 2. Use LocalDateTime or OffsetDateTime instead.", level = DeprecationLevel.ERROR) actual typealias Date = Date actual typealias LocalDateTime = Date -- cgit