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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user