From 78f9939afc1bd24f5c929bfc8a643bbffedb35c5 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 30 Jun 2024 20:46:40 +0200 Subject: Fix setting the clock by one hour back --- src/timedate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/timedate.h') diff --git a/src/timedate.h b/src/timedate.h index a1b2852..e197b4b 100644 --- a/src/timedate.h +++ b/src/timedate.h @@ -63,7 +63,7 @@ namespace dlackware::timedate // Changes the date/time // Takes the amount of seconds since UNIX epoche and // Throws std::system_error. - void set_time(std::int64_t seconds_since_epoch, bool relative, bool user_interaction); + void set_time(std::int64_t usec_utc, 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); -- cgit v1.2.3