diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-12-22 22:39:42 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-12-22 22:39:42 +0100 |
commit | 932a7b7bdae6c90fbcadb563775a9721cf4741cd (patch) | |
tree | b1336dbf930a830e40489cd00e2d1c84b8c04697 /src/main/kotlin/pl/treksoft | |
parent | b6d1dc12e04cf0857358820ee236f2e16c2dbf78 (diff) | |
download | kvision-932a7b7bdae6c90fbcadb563775a9721cf4741cd.tar.gz kvision-932a7b7bdae6c90fbcadb563775a9721cf4741cd.tar.bz2 kvision-932a7b7bdae6c90fbcadb563775a9721cf4741cd.zip |
Fix incompatible date formats between platforms.
Diffstat (limited to 'src/main/kotlin/pl/treksoft')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/types/Date.kt | 2 |
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 /** |