Good afternoon.

It would be cool if we could display the local user time of remote
contacts like how Skype does[0]. The most logical place to me to put
this information feels like PEP like with the other location stuff.

I've attached a patch which simply adds a timezone element to XEP-0080:
User Location. Have I missed something here? Is there somewhere more
appropriate for this information?

(Yes, you could work out the timezone from the location, but not only
is that annoying because then you'd need to do some kind of coordinate
→ timezone translation) but I also get the feeling people would be
happier to disclose their timezone, and less keen to disclose their
location coordinates (even when fuzzed).

What do you think?

Cheers,

0. http://blogs.gnome.org/wjjt/2012/05/11/maps-and-clocks-and-contact-locations/

-- 
Jonny Lamb

>From c468188fad85c4698c27f5bbe966e7d7e58adbec Mon Sep 17 00:00:00 2001
From: Jonny Lamb <[email protected]>
Date: Fri, 11 May 2012 16:28:14 +0100
Subject: [PATCH] xep-0080: add timezone element

Signed-off-by: Jonny Lamb <[email protected]>
---
 extensions/xep-0080.xml |   13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/extensions/xep-0080.xml b/extensions/xep-0080.xml
index cdf4131..d4b33f1 100644
--- a/extensions/xep-0080.xml
+++ b/extensions/xep-0080.xml
@@ -26,6 +26,12 @@
   &hildjj;
   &stpeter;
   <revision>
+    <version>1.8rc1</version>
+    <date>in progress, last updated 2012-05-11</date>
+    <initials>jl</initials>
+    <remark><p>Added &lt;timezone/&gt; element.</p></remark>
+  </revision>
+  <revision>
     <version>1.7</version>
     <date>2009-09-15</date>
     <initials>psa</initials>
@@ -283,6 +289,12 @@
       <td>2004-02-19T21:12Z</td>
     </tr>
     <tr>
+      <td>timezone</td>
+      <td>xs:string</td>
+      <td>Time Zone Definition (either "Z" for UTC or "(+|-)hh:mm" for a specific time zone)</td>
+      <td>-08:00</td>
+    </tr>
+    <tr>
       <td>uri</td>
       <td>xs:anyURI</td>
       <td>A URI or URL pointing to information about the location</td>
@@ -525,6 +537,7 @@
         <xs:element name='street' minOccurs='0' type='xs:string'/>
         <xs:element name='text' minOccurs='0' type='xs:string'/>
         <xs:element name='timestamp' minOccurs='0' type='xs:dateTime'/>
+        <xs:element name='timezone' minOccurs='0' type='xs:string/>
         <xs:element name='uri' minOccurs='0' type='xs:anyURI'/>
       </xs:sequence>
       <xs:attribute ref='xml:lang' use='optional'/>
-- 
1.7.10

Reply via email to