aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-10-14 15:02:54 +0200
committerRobert Jaros <rjaros@finn.pl>2019-10-14 15:02:54 +0200
commit280ca97bd0591d46f47f3143641a470a8704b634 (patch)
tree0c8b4c2b5879fda2ec9e3fbb255eb6ea96d87fbf /src
parent1dfbae59457b1a2dbeaa7f9cc9885e295d12e75d (diff)
downloadkvision-280ca97bd0591d46f47f3143641a470a8704b634.tar.gz
kvision-280ca97bd0591d46f47f3143641a470a8704b634.tar.bz2
kvision-280ca97bd0591d46f47f3143641a470a8704b634.zip
Change deprecation level to ERROR on the Date type.
Diffstat (limited to 'src')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/types/Date.kt2
1 files changed, 1 insertions, 1 deletions
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