Closed akaecliptic closed 1 year ago
Still thinking over the cleanest way to add custom adapters and date formatters. Will come back to that later.
Still thinking over the cleanest way to add custom adapters and date formatters. Will come back to that later.
Let's perhaps not overcomplicate things and hardcode the date format since it's protocol-based.
Looking at DateTimeFormatter javadoc I think we want to use ISO_OFFSET_DATE_TIME
- have a look if that works; If you could have tests that have UTC-0 and UTC+/-5 or something that would be perfect :) Because that would verify it works afaik. Can approve and merge then.
Added LocalDate and LocalDateTime TypeAdapters to resolve #11