Skip to content

Commit 2e4340f

Browse files
committed
ntp: update time sync notification
1 parent 07bdfcf commit 2e4340f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main/src/user/ntp.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ static void ntp_time_sync_notification_cb(struct timeval *tv)
2929
localtime_r(&now, &timeinfo);
3030
strftime(strftime_buf, sizeof(strftime_buf), "%c", &timeinfo);
3131

32-
ESP_LOGW(TAG, "the current date/time is: %s %s", CONFIG_NTP_TIMEZONE, strftime_buf);
32+
ESP_LOGW(TAG, "current timezone: %s", CONFIG_NTP_TIMEZONE);
33+
ESP_LOGW(TAG, "current date/time: %s", strftime_buf);
3334

3435
xEventGroupSetBits(user_event_group, NTP_READY_BIT);
3536
}

0 commit comments

Comments
 (0)