Title: mod_time portability woes

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@denmark" to="horatio@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


Reply via email to