[Libreoffice-bugs] [Bug 121851] Calc loses time zone information for datetime cells
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Jan 18 20:04:49 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=121851
--- Comment #7 from Dan Dascalescu <ddascalescu+freedesktop at gmail.com> ---
I'm a developer, albeit not a Java one, so maybe I'm wrong. Why would it be so
complicated to store timestamps in UTC? I've already shown in my previous
comment that date fields already have a 'Z' tacked onto them. Is that used? If
not, how could it be used?
Can Calc convert timestamps from the local timezone into UTC on save, and form
UTC into the local timezone on load? Both these conversions should be provided
by the OS or the runtime, so there should be no reason to mess with timezones
in Calc code.
https://stackoverflow.com/questions/19431234/converting-between-java-time-localdatetime-and-java-util-date
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190118/c2b39ab2/attachment.html>
More information about the Libreoffice-bugs
mailing list