JTAppleCalendar
JTAppleCalendar copied to clipboard
Maps selected dates from one time zone to another when reloading data.
-
selectedDatesreturns moments according to the calendar and time zone of the current configuration. - When reloading data, a new configuration is retrieved from the data source.
- This new configuration potentially contains a different calendar and/or time zone.
- Right now, the selected dates does not represent the same moment across time zones after a reload.
- This PR maps those moments across time zones.
Consider: Selecting a specific day when the calendar uses an Alaskan time zone but when reloading returning a calednar using an Australian time zone.
Actual behaviour: the day after is selected. Expected behaviour: the same day should be selected.
will look at this in a bit