powered by Jive Software

Local Time not shown when Contact is running 2.5.0 or 2.5.1

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="t7961950@xxxx.com/spark" from="c8732144@xxxx.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="t7961950@xxxx.com/spark" from="p4946033@xxxx.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.

bump.

The issue continues with 2.5.3

I’ve upgraded to 2.5.5 and it is still not showing the local time of my contacts. Is anyone else experiencing this issue? Is there a possible OS security issue at play here?

SPARK-848 to track this issue