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

timestd & timedst return invalid JSON #3322

Closed
jcheger opened this issue Jul 24, 2018 · 2 comments
Closed

timestd & timedst return invalid JSON #3322

jcheger opened this issue Jul 24, 2018 · 2 comments
Labels
bug Type - Confirmated Bug fixed Result - The work on the issue has ended

Comments

@jcheger
Copy link

jcheger commented Jul 24, 2018

TimeSTD and TimeDST return an invalid JSON string: « "Offset":xx" ». The last quote is invalid.

Bug confirmed to appear on fw 6.1.1

20:42:53 MQT: tasmota/anet/stat/RESULT = {"TimeStd":{"Hemisphere":0,"Week":0,"Month":10,"Day":1,"Hour":3,"Offset":60"}}
20:42:53 MQT: tasmota/anet/stat/RESULT = {"TimeDst":{"Hemisphere":0,"Week":0,"Month":3,"Day":1,"Hour":2,"Offset":120"}}
@ascillato
Copy link
Contributor

Ok.

I could reproduce it. @arendst

is "Offset":60" and should be "Offset":60

Thanks for pointing this out 👍

@ascillato2 ascillato2 added the bug Type - Confirmated Bug label Jul 24, 2018
arendst added a commit that referenced this issue Jul 25, 2018
Fix command TimeDst/TimeStd invalid JSON (#3322)
@arendst arendst added the fixed Result - The work on the issue has ended label Jul 25, 2018
@ascillato2
Copy link
Collaborator

Tested ok!

Thanks 👍

curzon01 pushed a commit to curzon01/Tasmota that referenced this issue Sep 7, 2018
Fix command TimeDst/TimeStd invalid JSON (arendst#3322)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type - Confirmated Bug fixed Result - The work on the issue has ended
Projects
None yet
Development

No branches or pull requests

4 participants