Re: How to get the Kannel time, in GMT+2
Thanos Chatziathanassiou <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hillel wrote: > Hi Andreas, > > I'm using the latest Centos which uses Redhat. > > # cat /etc/sysconfig/clock > ZONE="Africa/Johannesburg" > UTC=true > This implies that your system clock is set to UTC... is it ? > ARC=false > > We set UCT to true as show above in /etc/sysconfig/clock and rebooted the > server and still %t gives the time at UTC and not UTC +2 when getting back a > status=8 (accepted from the SMS Provider) from Kannel. > > The options we are using when sending the SMSs are: > status=%d&smsc=%i&timeDate=%t&destination=%p&delivInfo=%a&source=%P&msgid=%k > > When compiling Kannel we used --disable-localtime > > Do you have any further suggestions? and thanks for all the great work you > are doing with Kannel. > > >> -----Original Message----- >> From: Andreas Fink [mailto:[email protected]] >> Sent: 11 January 2007 08:55 >> To: [email protected] >> Subject: Re: How to get the Kannel time, in GMT+2 >> >> >> just specify your timezone in the operating system. >> under unix you can set TZ variable. >> There is also a ./configure option to tell Kannel to print out UTC >> times instead of localtime. >> >> Note: GMT is an old term. What you mean is Universal Time Coordinate >> (UTC) which has replaced GMT ages ago. >> >> On 11.01.2007, at 07:08, Hillel wrote: >> >> >>> Hi, >>> >>> Greetings of the season to everyone and we wish all the Kannel >>> developers >>> and users a wonderful 2007, a special thanks to Stipe and the >>> others Kannel >>> maintainers for the great work they are doing. >>> >>> When Kannel gives back a status of 8 (submit_sm responses) i.e the >>> SMSC >>> acknowledgement, Kannel gives the timeDate (%t) in GMT time and not >>> our >>> current local time of GMT +2. >>> >>> This comes from the options used when sending the SMSs: >>> status=%d&smsc=%i&timeDate=%t&destination=%p&delivInfo=%a&source=% >>> P&msgid=%k >>> >>> Does anyone know how to compile Kannel to use GMT + 2? Or any other >>> suggestions to get the timeDate in GMT +2. >>> >>> We are using the latest CVS. >>> >>> Any help appreciated. >>> >>> Thanks >>> >>> >> >> > > >