use XCalendar4 local date/time in CalendarWrapper, tdf#63230

Desktop / LibreOffice - Eike Rathke [redhat.com] - 26 January 2015 11:12 UTC

Replaces the three-step timezone+DST correction. Hopefully ICU does take these into account, but this needs to be double-rechecked and if necessary correction be implemented at XCalendar4::setLocalDateTime()

See also http://userguide.icu-project.org/datetime/calendar#TOC-Ambiguous-Wall-Clock-Time-Resolution Interpreting as standard time for non-existing times sounds like what we need and covers the dreaded "00:00-01:00 doesn't exist" case that decremented the day and was fixed here with the now removed workaround.

c72cd80 use XCalendar4 local date/time in CalendarWrapper, tdf#63230
unotools/source/i18n/calendarwrapper.cxx | 43 ++----------------------------
1 file changed, 2 insertions(+), 41 deletions(-)

Upstream: cgit.freedesktop.org


  • Share