cafonsomota
03/27/2021, 1:17 AMCalendar object to LocalDateTime (kotlinx) by setting the year, month, etc. on the constructor; and I’ve noticed that when I call .toString it prints something like 2021-03-27T09:00 instead of 2021-03-27T090000Z. What I might be doing wrong?Jan Skrasek
03/27/2021, 6:50 AMcafonsomota
03/27/2021, 8:55 PMThe library is based on the ISO 8601 international standard, other ways to represent dates and times are out of its scope. Internationalization (such as locale-specific month and day names) is out the scope, too.And if I’m not mistaken this ISO 8601 guarantees timezone no?
ilya.gorbunov
03/27/2021, 8:59 PMLocalDateTime corresponds to the representation that does not include offset.
Perhaps Instant type is what you're looking for.cafonsomota
03/29/2021, 4:19 PM