kotlinx-datetime icon indicating copy to clipboard operation
kotlinx-datetime copied to clipboard

Separate ISO and default serializers

Open dkhalanskyjb opened this issue 1 year ago • 0 comments

Sometimes, X.Formats.ISO and X.parse()/X.toString() behave subtly differently; currently, it's the case for LocalDateTime and LocalTime.

With this change, every entity that supports custom formats obtains a separate default serializer in addition to the ISO 8601 serializer, which now properly delegates to the corresponding DateTimeFormat.

Fixes #351

dkhalanskyjb avatar May 13 '24 14:05 dkhalanskyjb