On Thu, 2011-01-20 at 01:09, Helen Sang wrote: > Dear Kannel users, > > I use this sms-service to accept SMS from GSM Modem (motorola ROKR phone): > > group = sms-service > #keyword = default > keyword-regex = .* > catch-all = yes > max-messages = 0 > get-url = > "http://localhost/~xxx/xxx/sms/receiveSMS.php?phone=%p&text=%a&time=%t" > #text = "default sms service no url" > > The PHP script simply get the three strings and store them into db table. > > We are at GMT+8 zone. My linux system and the phone are both set with local > time and GMT+8 zone. When I receive a sms, the timestamp read on the phone > is normal local time, for example 4:53pm, but for the same message, the time > stamp stored in database table is 08:53. > > Since the phone think the time is 4:53pm, which is correct, and the db table > store a value of 08:53, I assume kannel has altered the timestamp to GMT. > But I can't find in UM a clause to set timezone. > > Can someone please help?
Kannel use UTC time by default. If you want localtime you must ./configure it with --enable-localtime and recompile. -- Kind regards, Milan -------------------------------------------------- Arvanta, IT Security http://www.arvanta.net Please do not send me e-mail containing HTML code.