From 8bf3a92cbc3aea9ae47177d877420f966bc9acf5 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sat, 29 Jun 2024 16:01:57 +0200 Subject: Implement SetLocalRTC --- src/timedate.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/timedate.h') diff --git a/src/timedate.h b/src/timedate.h index 1c33594..a1b2852 100644 --- a/src/timedate.h +++ b/src/timedate.h @@ -65,6 +65,9 @@ namespace dlackware::timedate // Throws std::system_error. void set_time(std::int64_t seconds_since_epoch, bool relative, bool user_interaction); + // Controls whether the RTC is local time or UTC. + void set_local_rtc(bool local_rtc, bool fix_system, bool user_interaction); + class timedate1 { const Gio::DBus::InterfaceVTable interface_vtable; -- cgit v1.2.3