RE: Incorrect date/time

"Oded Arbel" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
> -----Original Message-----
> From: Gaby Vanhegan [mailto:[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.

--
Oded Arbel
m-Wise mobile solutions
[email protected]

+972-9-9581711 (116)
+972-67-340014

::..
real punks help little old ladies across the street because it shocks more 
people than if they spit on the sidewalk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.