I have noticed an issue with the reporting of Local Time by contacts running 2.5.0 or 2.5.1. Spark 2.5.0 and 2.5.1 are not supplying the time zone and display time elements. And oddly enough, I’‘ve noticed different versions of Spark responding differently to the issue. On 2.5.x, the time field in the Client Version popup is blank. On 2.0.7, a time is reported, but due to the contact’‘s time zone being missing, the time is reported in the user’'s time zone.
This is the response I receive from a 2.0.7 client:
<iq id="cdFKE-138" to="firstname.lastname@example.org/spark" from="email@example.com/spark" type="result"> <query xmlns="jabber:iq:time"> <utc>20070420T14:01:01</utc> <tz>America/New_York</tz> <display>Apr 20, 2007 10:01:01 AM</display> </query> </iq>
This is the response I receive from a 2.5.x client:
<iq id="cdFKE-140" to="firstname.lastname@example.org/spark" from="email@example.com/spark" type="result"> <query xmlns="jabber:iq:time"> <utc>20070420T14:06:47</utc> </query> </iq>
When a 2.5.x client receives the package without a time zone, the Local Time field is blank. A 2.0.7 client will display the time received in the local time zone.