[JDEV] Message timestamps

David Waite mass at ufl.edu
Mon Oct 4 13:14:19 CDT 1999


I would recommend that the server apply timestamps rather than the client,
to prevent fraud. But timestamps are rather important.
(note, your example suffers from the Y10k bug ;-) )
-David Waite

On Mon, 4 Oct 1999, Eric Bowersox wrote:

> I'm wondering if the Jabber <message> tag shouldn't contain some sort of
> (optional) timestamp, which would be useful for figuring out when you
> received an offline message.  I just received two offline messages on my
> Jabber server and I have no idea when they were sent.
>  
> The format should probably be:
>  
> <message>
>     ...
>     <timestamp>19991004T09:53:40</timestamp>
>     ...
> </message>
>  
> where the <timestamp> tag contains the time the message was sent, in ISO
> 8601 format (yyyymmddThh:mm:ss).
>  
> I also note that the ICQ message protocol includes a timestamp for delivery
> of "offline" messages when you first log in, which could be translated
> directly across to this format.  Just some food for thought.
>  
>                     Eric
>  
> --
> Eric J. Bowersox - <ebowersox @corp.webb.net <mailto:erbo at durand.com> >
> Software Engineer - Webb Interactive Services Inc. < http://www.webb.net
> <http://www.webb.net/> >
>  
>  
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 





More information about the JDev mailing list