You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While compiling with the ESP toolchain and for an ESP32-IDF, time launches the next error:
error[E0609]: no field `tm_gmtoff` on type `tm`
--> /home/<myhome>/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.44/src/sys.rs:392:30
|
392 | let gmtoff = out.tm_gmtoff;
| ^^^^^^^^^ unknown field
|
= note: available fields are: `tm_sec`, `tm_min`, `tm_hour`, `tm_mday`, `tm_mon` ... and 4 others
Despite issue #438 I'm not using the local-offset feature, and I don't see that Chrono 0.4.20 requests it.
System information:
I guess that the problem is that the target os (based on your code and cfg) is Linux, but it's a FreeRTOs with a custom toolchain, and it may not contain that field internally. If you need any further information, please let me know.
The text was updated successfully, but these errors were encountered:
Yes, your guess is right, I was using Chrono 4.20, despite being a new release they didn't update to the latest version of Time. I move to use time directly and it works smoothly. Thanks jhpratt for the fast response.
Hi,
While compiling with the ESP toolchain and for an ESP32-IDF, time launches the next error:
Despite issue #438 I'm not using the local-offset feature, and I don't see that Chrono 0.4.20 requests it.
System information:
I guess that the problem is that the target os (based on your code and cfg) is Linux, but it's a FreeRTOs with a custom toolchain, and it may not contain that field internally. If you need any further information, please let me know.
The text was updated successfully, but these errors were encountered: