utc to local

This commit is contained in:
2025-03-09 14:22:39 +01:00
parent 6262e6feee
commit c2adb9e229
+1 -1
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