-
Notifications
You must be signed in to change notification settings - Fork 179
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
TimeSynchronizationCluster: Wrong epoch time conversion ? (CON-1539) #1269
Comments
It seems that only the prinf it wrong, because I arrive to read the correct datetime using this:
So at this point, this issue is very minor. |
@caipiblack This issue is indeed related to how the log is printed. Please refer to the exact implementation of ChipLogProgress for reference. Updating the log statement to: will temporarily resolve the issue. We will fix it soon. Thanks for reporting this! |
@caipiblack The issue has been fixed, and the fix will be available after the submodule update. Could you please close this issue? |
Thanks it’s all good |
Describe the bug
When we set the UTC time of a node running on esp32, the time being set seems to be wrong (or wrongly displayed).
For example:
The problem is on this line:
Environment
FireBeetle 2 ESP32-C6
Any additional details
CONFIG_ENABLE_SNTP_TIME_SYNC
Here a simple tool to get the compatible epoch time:
It's possible that the problem is due to a wrong conversion: Matter specifications says, they use epoch us based on 2000-01-01, (it's not unix timestamp)
Currently I don't know where the problem is (stack: platform code for esp32, esp-matter ?)
The text was updated successfully, but these errors were encountered: