mirror of
https://github.com/InsanusMokrassar/PlaguPoster.git
synced 2024-11-17 13:33:47 +00:00
fixes for building
This commit is contained in:
parent
fea25743d5
commit
f09e80b8bd
@ -8,7 +8,6 @@ import kotlinx.serialization.descriptors.SerialDescriptor
|
||||
import kotlinx.serialization.encoding.Decoder
|
||||
import kotlinx.serialization.encoding.Encoder
|
||||
|
||||
@Serializer(DateTime::class)
|
||||
object DateTimeSerializer : KSerializer<DateTime> {
|
||||
override val descriptor: SerialDescriptor = Double.serializer().descriptor
|
||||
override fun deserialize(decoder: Decoder): DateTime = DateTime(decoder.decodeDouble())
|
||||
|
Loading…
Reference in New Issue
Block a user