RE: bug with date_convert_universal()
"Angel Fradejas" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
>>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 Yes, that's right. My SMSC works with 1-based months and local time. So it seems we cannot use date_convert_universal as it is for EMI2 timestamps. Besides the 1-based/0-based month problem, it assumes GMT timestamps. Angel Fradejas.