Update: Correct log message to display UTC instead of KST time

Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
This commit is contained in:
2025-09-03 14:05:38 +09:00
parent f44cfa3a6c
commit be52da0604

View File

@@ -138,7 +138,7 @@ void time_sync_notification_cb(struct timeval* tv)
time(&now);
localtime_r(&now, &timeinfo);
strftime(strftime_buf, sizeof(strftime_buf), "%c", &timeinfo);
ESP_LOGI(TAG, "The current date/time in KST is: %s", strftime_buf);
ESP_LOGI(TAG, "The current date/time in UTC is: %s", strftime_buf);
}
void initialize_sntp(void)