Re: Incorrect date/time
Gaby Vanhegan <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <B9BDCDA4.2ACC%[email protected]> |
>> The date off the SMS: 1902-02-05 17:41:40 >> The actual received date: 2002-09-27 13:13:13 > > This is weird. the month, days and time I can blame the SMSC on, but not the > year. the year part in the PDU timestamp is only two digits, and Kannel will > add the rest with the following logic - if year is smaller then 70, add 2000 > else - add 1900. since the 2 digit year is 02, Kannel should have added 2002. > this is a buf in Kannel, and I will check it out. I've run some further tests on this now. SMS sent from any network and received by kannel have the incorrect date attached. For testing purposes I only have Orange and O2 to test with in the UK. The kannel gateway runs on the O2 SIM card. My results are: Kannel -> Kannel = incorrect date O2 -> kannel = incorrect date Orange -> kannel = incorrect date Kannel -> O2 = correct date O2 -> O2 = correct date Orange -> O2 = correct date Kannel -> Orange = correct date O2 -> Orange = correct date Orange -> Orange = correct date This is looking more like a bug in kannel. Gaby -- Gaby Vanhegan, Web Developer [email protected] ---------------------------------------------------------- MediaWorks Telephone +44(0)113 234 5600 Fax +44(0)113 234 5601 http://www.mediaworksccl.com/ This e-mail contains information that is confidential and may be Legally privileged. If this e-mail has been addressed to you in error and you are not the person intended or authorized to receive it or a copy of it, please notify the sender as soon as possible.