[Bug 163723] Missing time, datetime formats including timezones

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Nov 14 21:25:17 UTC 2024


https://bugs.documentfoundation.org/show_bug.cgi?id=163723

--- Comment #4 from Eyal Rozenberg <eyalroz1 at gmx.com> ---
(In reply to Heiko Tietze from comment #2)
> The timezone is a relative information that needs additional data about the
> offset. I don't see how this should work.

The timezone _is_ the offset. Look at my example. The user enters year, month,
day, hour, minute, second, and TZ offset. This is a way to specify time,
including the timezone - and it's an ISO standard. We just refuse to
acknowledge it and display it.

But - what if the user didn't specify the timezone, but the format calls for a
timezone? 

Well, in that case, we use some sort of fallback. It could be UTC; or it could
be the default zone for locale LC_TIME; or it could be the value in
/etc/timezone - whatever. This is not problematic - it's just like when we
don't have the date, only time information, we implictly choose January 1st,
1900 (but don't show it).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list