[JDEV] mod_time portability woes

Matt Diez matt at vedalabs.com
Mon Aug 27 10:10:38 CDT 2001


Doing some porting of the Jabber server to AIX. And you cats keep upping the
ante on me.

Pulled the latest release off of CVS

In mod_time.c, line 66
xmlnode_insert_cdata(xmlnode_insert_tag(m->packet->iq,"tz"),tmd->tm_zone,-1)
;

Which, in the Linux world, pulls up a three letter representation of the
time, yet, in
the JPG, it is a full textual representation (no abbreviation).

See:
<iq type="result" from="hamlet at denmark" to="horatio at denmark" id="1001"> 
	 <query xmlns="jabber:iq:time">
        <utc>20000106T06:35:29</utc>
        <tz>Central European Time</tz> 
        <display>2000/01/06 6:35:29 AM</display> 
      </query> 
</iq> 

Can anyone tell me what the "officially" accepted timezone format is?

Matthew D. Diez


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20010827/39c685a1/attachment-0002.htm>


More information about the JDev mailing list