Re: bug with date_convert_universal()
Andreas Fink <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <p0510140bb8b4b8f5d689@[10.0.0.2]> |
>On Tue, Mar 12, 2002 at 01:23:16PM +0200, Oded Arbel wrote: >> yes , the leap year calculation expects month to be 0 based, as in the >> comments at date.h. something has to be done - I don't really mind what >> - as long as the current situation is solved as quickly as possible. > >Okay, someone sent me the CMG EMI 3.5 spec. The only specification >of the date format it has is "DDMMYYhhmmss" without further explanation. >Since we have evidence of at least one EMI SMSC using 1-based months, >shall we assume that they all do? It would make sense, if the lack of >specification means that the date format is intended to be human-readable. this is definitively the case. The EMI timestamps are also is in LOCAL TIME, not GMT -- Andreas Fink Fink-Consulting ------------------------------------------------------------------ Tel: +41-61-6932730 Fax: +41-61-6932729 Mobile: +41-79-2457333 Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland E-Mail: [email protected] Homepage: http://www.finkconsulting.com ------------------------------------------------------------------ Something urgent? Try http://www.smsrelay.com/ Nickname afink