XEP-0202 Support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Coccinella |
Fix Released
|
Wishlist
|
Coccinella |
Bug Description
As XEP-0202 (http://
However, I ran into the following problem:
I had two Coccinella clients running on the same box, the Local time shown in the Business Card window of the other User was two hours in the future. I am here in CEST, GMT+2 hours.
Enabling Debug level, I saw that the asked client sends out the information as specified by XEP-0202, using GMT and the Offset.
The receiving client did not correctly calculated the offset (fiddling around with GMT), the problem happend in jabber/Jabber.tcl in ::Jabber:
I am not perfectly sure, whether this is the correct thing to fix the problem, I added a "-gmt 1" parameter to the output format. At least it worked for me with two clients on my notebook.
Further the jxmlns(entitytime) was set to "urn:xmpp:time" in jabberlib/
appended patch is doing that.
Changed in coccinella: | |
status: | New → In Progress |
Changed in coccinella: | |
status: | Fix Committed → Fix Released |
I checked in svn revision #2743. This now enables the Entity Time. iq:time, and the newer urn:xmpp:time, iq:time is shown
The client sends out both: jabber:
however, in case both return an answer, only the result of urn:xmpp:time is shown.
When urn:xmpp:time returns an error, the result of jabber:
This also may need some more testing. Tested between two OpenBSD boxes,
having the timezone set to the same, and with differerent time zones.