Saasli / saasli-backend

Documentation
https://saasli.github.io/docs/
0 stars 0 forks source link

[mysql poll] convert datetime values to strings #58

Closed godd9170 closed 7 years ago

godd9170 commented 7 years ago

PyMySQL nicely returns any date fields as python datetime.date data types. Unfortunately our events API is expecting a UNIX Timestamp string. We need to detect datetimes, and convert them into UNIX strings.