From 932a7b7bdae6c90fbcadb563775a9721cf4741cd Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 22 Dec 2018 22:39:42 +0100 Subject: Fix incompatible date formats between platforms. --- src/main/kotlin/pl/treksoft/kvision/types/Date.kt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/kotlin/pl/treksoft') 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 /** -- cgit