Re: bug with date_convert_universal()
Richard Braakman <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Mar 13, 2002 at 09:06:58AM +0100, Andreas Fink wrote: > this is definitively the case. The EMI timestamps are also is in > LOCAL TIME, not GMT Ah, yes. I had forgotten about that. In fact, my experience while roaming in Hong Kong was even worse: the timestamp is in the local time of the _sender_, not the SMSC. Messages I got from people in Hong Kong were marked in Hong Kong time, and messages I got from people back in Finland were marked in Finnish time, with no indication of timezone. (In fact, I suspect that the timestamp is generated on the mobile phone, using whatever time its user has set. Worth an experiment?) We probably need a better definition of what the timestamp field actually means for Kannel. Some SMSC drivers fill in the time of receipt, others take the time from the message, and not all do this in GMT. So I think the first question is, what do people use the timestamp field for? If there are multiple conflicting uses, then maybe we need multiple timestamp fields -- time of receipt separate from sending time, and timezone marked separately if known. -- Richard Braakman Will write free software for money. See http://www.xs4all.nl/~dark/resume.html