Show HN: Go Implementation of Systemd Time
allddd Saturday, February 21, 2026Hi, over the last few months I've been writing a Go package that parses systemd time formats because none of the packages I found were both flexible and fast enough for my use case.
The spec (https://www.freedesktop.org/software/systemd/man/latest/syst...) is more complex than it looks, so it took me way longer than expected to get it working properly. Right now it can only parse time spans and timestamps. I plan to add support for calendar events since I’d like to cover the full spec, but it’s lower prio because I don’t need it myself. If anyone wants to play with it, contributions are welcome :)
Summary
The article discusses a Go package called 'go-systemd-time' that provides utilities for working with time-related functions in Linux systems using the systemd time management system. The package offers features such as parsing and formatting systemd-specific time formats and interacting with systemd's time-related services.
2
0
Summary
gitlab.com