dbus_datetime 0.1.1
dbus_datetime: ^0.1.1 copied to clipboard
A Dart library for interacting with the systemd timedate1 D-Bus interface.
0.1.1 #
ZoneTab.countriesForTimezonenow returns countries in the order declared inzone1970.tab, so the primary (most-populous) country is first. Earlier versions sorted alphabetically, which picked the wrong country for zones whose primary is not alphabetically first (e.g.Pacific/Aucklandmaps toNZ,AQand should report NZ first, not AQ).
0.1.0 #
- Added
ZoneTabfor offline country and IANA timezone lookup backed by/usr/share/zoneinfo/zone1970.tab(with azone.tabfallback) andiso3166.tab. systemd-timedated does not expose country metadata over D-Bus, so this fills the gap for country-picker UIs.
0.0.4 #
- Fix example code in example/README.md.
0.0.3 #
- Added two methods to enable and disable NTP synchronisation.
- Optional
relativeproperty added toset_timeand by default set tofalse.
0.0.2 #
- Added support for setting NTP servers.
0.0.1 #
- Initial version.