From c2adb9e229c94751f5b84f3314a92625a4eb224b Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Sun, 9 Mar 2025 14:22:39 +0100 Subject: [PATCH] utc to local --- src/dcf95.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dcf95.c b/src/dcf95.c index 276b039..e2f16f6 100644 --- a/src/dcf95.c +++ b/src/dcf95.c @@ -326,7 +326,7 @@ int main(int argc, char **argv) { // Get current time time_t now = time(NULL) + offset; - struct tm *t = gmtime(&now); + struct tm *t = localtime(&now); int second = t->tm_sec; // Check if we're at the start of a new minute