From 01ca9f7a495388cbb37d7925c8304b543451f196 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Mon, 23 Feb 2026 16:33:14 +0100 Subject: [PATCH] change rename init time method --- src/feierabend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/feierabend.c b/src/feierabend.c index 7b434d2..b48f6f5 100644 --- a/src/feierabend.c +++ b/src/feierabend.c @@ -93,7 +93,7 @@ void _print_time_to_end(const uint8_t soll_hour, timestr = NULL; } -time_t _init_tm_with_time(const char* hour, const char* min) +time_t _init_time_with_args(const char* hour, const char* min) { const time_t now = time(NULL); struct tm now_tm = _get_tm_from_time(now); @@ -128,7 +128,7 @@ int main(const int argc, const char* argv[]) printf("Version: %s\n\n", PROJECT_VERSION); const time_t now = time(NULL); - const time_t begin = _init_tm_with_time(hour, min); + const time_t begin = _init_time_with_args(hour, min); const time_t worktime_eight_end = get_eight_hour_end_worktime(begin); const time_t worktime_max_end = get_ten_hour_end_worktime(begin); -- 2.47.3