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
ilya.gorbunov
08/27/2021, 3:47 AM
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.