RE: timestamps with emi2

2002-01-15 Thread Dima Milentiev
.         -Original Message- From: Angel Fradejas [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 8:29 PM To: Kannel Developers Subject: timestamps with emi2 I recently began to work with a EMI2 smsc link, and have a question about the calculation

RE: timestamps with emi2

2002-01-15 Thread Angel Fradejas
ersSubject: timestamps with emi2 I recently began to work with a EMI2 smsc link, and have a question about the calculation of the timestampsfor the MO messges. First,the code at smsc_emi2.c splits day,month,year, and so on, and then it takes the correspond

Re: timestamps with emi2

2002-01-15 Thread Stipe Tolj
please send fixes in diff -u format attached as plain/text to the devel@ list. There are a couple of guys working (more or less) as active CVS commiters, see ChangeLog. If your patch doesn't get applied for some days ask someone personaly to commit it. When you have contributed some patches we

RE: timestamps with emi2

2002-01-15 Thread Angel Fradejas
Hi Stipe, Here you have the patch to date.c Angel Fradejas. -Mensaje original- De: Stipe Tolj [mailto:[EMAIL PROTECTED]] Enviado el: martes 15 de enero de 2002 12:12 Para: Angel Fradejas CC: Kannel Developers Asunto: Re: timestamps with emi2 please send fixes in diff -u format

timestamps with emi2

2002-01-14 Thread Angel Fradejas
I recently began to work with a EMI2 smsc link, and have a question about the calculation of the timestampsfor the MO messges. First,the code at smsc_emi2.c splits day,month,year, and so on, and then it takes the corresponding time_t by calling date_convert_universal. The question is

RE: timestamps with emi2

2002-01-14 Thread Angel Fradejas
I think the problem is in de date.c function date_convert_universal: line 81: date += monthstart[t-month] * DAY; Shouldn't it be line 81: date += monthstart[t-month-1] * DAY; ? Or am I doing something wrong? I need exacts timestamps because we have to do accounting fo the sms traffic.