diff options
| author | Eugen Wissner <belka@caraus.de> | 2024-05-31 17:01:04 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2024-05-31 17:01:04 +0200 |
| commit | c6036e4d2df4e1498dcf84a73582454ed00cd3ad (patch) | |
| tree | 3edc0cd7ba324489da77133f8853a0815c53dd3d /src/slack-timedate.h | |
| parent | ed136d3b9a70370700595005f12794eff20bbaae (diff) | |
| download | slack-timedate-c6036e4d2df4e1498dcf84a73582454ed00cd3ad.tar.gz | |
List the zoneinfo directory
Diffstat (limited to 'src/slack-timedate.h')
| -rw-r--r-- | src/slack-timedate.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/slack-timedate.h b/src/slack-timedate.h index 72fcc2d..61ee8d5 100644 --- a/src/slack-timedate.h +++ b/src/slack-timedate.h @@ -59,6 +59,13 @@ constexpr gint32 USEC_PER_SEC = 1000000ULL; constexpr gint32 NSEC_PER_USEC = 1000ULL; +namespace dlackware::timedate +{ + constexpr const char *zoneinfo_database = "/usr/share/zoneinfo"; + + Glib::Variant<std::vector<Glib::ustring>> list_timezones(); +} + // Returns the system time zone gchar *slack_get_timezone (); |
