[systemd-devel] Specifying calendar events in an arbitrary timezone

Mantas Mikulėnas grawity at gmail.com
Thu Dec 15 19:48:38 UTC 2016


Ah, systemd in fact had tzdata parsing code already – it was used by
tinedatectl to show DST info. Try to recover it from Git.

On Thu, Dec 15, 2016, 21:03 Ran Benita <ran234 at gmail.com> wrote:

> On Thu, Dec 15, 2016 at 06:35:15PM +0100, Lennart Poettering wrote:
> > So yeah, we'd love to support this, but are waiting for a suitable API.
>
> I see, makes sense.
>
> Since new glibc API will probably be slow to come, if ever, it might
> make sense to circumvent it and go for the tzdata directly? It seems the
> format is described in tzfile(5), and the glibc code which handles it
> seems to be public domain as well: https://github.com/eggert/tz
> I don't have any experience with those APIs, though.
>
> If I get some time I'll try and see if such an approach is viable.
>
> Thanks!
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
-- 

Mantas Mikulėnas <grawity at gmail.com>
Sent from my phone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20161215/a983b3e9/attachment.html>


More information about the systemd-devel mailing list