aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-12-22 22:39:42 +0100
committerRobert Jaros <rjaros@finn.pl>2018-12-22 22:39:42 +0100
commit932a7b7bdae6c90fbcadb563775a9721cf4741cd (patch)
treeb1336dbf930a830e40489cd00e2d1c84b8c04697 /src
parentb6d1dc12e04cf0857358820ee236f2e16c2dbf78 (diff)
downloadkvision-932a7b7bdae6c90fbcadb563775a9721cf4741cd.tar.gz
kvision-932a7b7bdae6c90fbcadb563775a9721cf4741cd.tar.bz2
kvision-932a7b7bdae6c90fbcadb563775a9721cf4741cd.zip
Fix incompatible date formats between platforms.
Diffstat (limited to 'src')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/types/Date.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/types/Date.kt b/src/main/kotlin/pl/treksoft/kvision/types/Date.kt
index b6b60d5c..7b5acc59 100644
--- a/src/main/kotlin/pl/treksoft/kvision/types/Date.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/types/Date.kt
@@ -29,6 +29,8 @@ import kotlinx.serialization.internal.SerialClassDescImpl
import pl.treksoft.kvision.KVManager
import kotlin.js.Date
+actual val KV_DATE_FORMAT = "YYYY-MM-DD HH:mm:ss"
+
actual typealias Date = kotlin.js.Date
/**