Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P.gotttimezone () prints out a problem #12

Open
perseverance51 opened this issue Jun 21, 2022 · 0 comments
Open

P.gotttimezone () prints out a problem #12

perseverance51 opened this issue Jun 21, 2022 · 0 comments

Comments

@perseverance51
Copy link

选择ESP8266,nodemcu1.0,烧录示例代码,会出现无线重启,栈溢出。
(Select ESP8266, nodemcu1.0, burn sample code, there will be wireless restart, stack overflow.)
Serial.printf("%04d/%02d/%02d %02d:%02d:%02d %ld (%s)\n", p.getYear(), p.getMonth(), p.getMonthDay(), p.getHours(), p.getMinutes(), p.getSeconds(), p.getTime(), p.getTimeZone());
将其中包含的%s,p.getTimeZone()打印对象去除掉就不会了,但是在烧录到esp32上面没有这个情况。
(Removing the %s, p.gettimezone () print object contained in it will not, but this is not the case when burning to ESP32.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant