-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Closed
Labels
waiting for feedbackWaiting on additional info. If it's not received, the issue may be closed.Waiting on additional info. If it's not received, the issue may be closed.
Milestone
Description
When I use this example, the Serial displays
date and time. PTM(year) and PTM (mon) not correct. Other PTM data is displayed correctly. When using ctime(&now) or "strftime", all data, including year and month are displayed in the correct line. Is it bug?
Arduino IDE 1.8.5
ESP 8266 Community 2.4.2
ESP 12 Module.
NTP:
localtime:isdst=0:yday=0:wday=4:year=70:mon=0:mday=1:hour=8:min=0:sec=8
...
time:28808 ctime:(UTC+120mn)Thu Jan 1 08:00:08 1970
after given UTC time:
localtime:isdst=0:yday=302:wday=2:year=118:mon=9:mday=30:hour=15:min=52:sec=14
...
time:1540914734 ctime:(UTC+120mn)Tue Oct 30 15:52:14 2018
Have idea?
Metadata
Metadata
Assignees
Labels
waiting for feedbackWaiting on additional info. If it's not received, the issue may be closed.Waiting on additional info. If it's not received, the issue may be closed.