aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft
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 /kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft
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 'kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft')
-rw-r--r--kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/types/Date.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/types/Date.kt b/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/types/Date.kt
index 947bb62b..90fdd2df 100644
--- a/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/types/Date.kt
+++ b/kvision-modules/kvision-remote/src/main/kotlin/pl/treksoft/kvision/types/Date.kt
@@ -29,7 +29,7 @@ import kotlinx.serialization.internal.SerialClassDescImpl
import kotlin.js.Date
import kotlin.math.absoluteValue
-@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