I’d like to convert an ISO string to a readable fo...
# kotlinx-datetime
n
I’d like to convert an ISO string to a readable format the end user would understand. I can’t seem to find how to do it with Date-Time. Am I missing something? This would go in a ViewModel, which I intend on making multiplatform.
i
Custom formatting is not yet supported, unfortunately. So far, you can convert your date or instant value to a platform type, e.g. java.time.Instant or NSDate, and use platform-specific methods for formatting.