summaryrefslogtreecommitdiff
path: root/src/timedate.h
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2024-06-30 20:46:40 +0200
committerEugen Wissner <belka@caraus.de>2024-06-30 20:46:40 +0200
commit78f9939afc1bd24f5c929bfc8a643bbffedb35c5 (patch)
tree8539c3dfe37e360389096e743f2f311c6afa431c /src/timedate.h
parent8bf3a92cbc3aea9ae47177d877420f966bc9acf5 (diff)
downloadslack-timedate-78f9939afc1bd24f5c929bfc8a643bbffedb35c5.tar.gz
Fix setting the clock by one hour back
Diffstat (limited to 'src/timedate.h')
-rw-r--r--src/timedate.h2
1 files changed, 1 insertions, 1 deletions
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);