Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
SMSD DeliveryReports: DeliveryDateTime does not include timezone #363
When a delivery report is received it is saved to DB with a datetimestamp without timezone. As a result I get a situation like DeliveryDateTime was received 2 hours before sending a message :)
ID | SendingDateTime | DeliveryDateTime | Status
I did a small research on this:
And as I understand the SMSCTime should be adjusted in method Fill_Time_T() with timezone.
However somehow it is not.
Performing C SOURCE FILE Test HAVE_STRUCT_TM_TM_ZONE succeeded with the following output:
Database (Postgres) function now() returns correct time (including timezone). System timezone setting is also ok.
Am I wrong somewhere in my research? What could be the reason that the timezone is not taken into account?