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
The issue is when the alarmserver comes to unmarshal the XML it fails at the timestamp due to the missing timezone tag - hence the cannot parse "" as "Z07:00"
Reading this article it looks as though we can just create our own Time struct which can handle the format we want to parse. Allowing for a config option to override the default. Eg;
I am trying to use the alarmserver with an Annke NVR which returns an event struct like this:
The issue is when the alarmserver comes to unmarshal the XML it fails at the timestamp due to the missing timezone tag - hence the
cannot parse "" as "Z07:00"
Reading this article it looks as though we can just create our own Time struct which can handle the format we want to parse. Allowing for a config option to override the default. Eg;
The text was updated successfully, but these errors were encountered: