0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00

utc to local

This commit is contained in:
2025-03-09 14:22:39 +01:00
parent 6262e6feee
commit c2adb9e229

View File

@@ -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