GitHub: Fix MySQL error 1292 when inserting date
GitHub: Fix MySQL error 1292 when inserting date

When MySQL sql_mode is set to strict (STRICT_TRANS_TABLES or
STRICT_ALL_TABLES), the DB rejects the date insertions in ISO-8601
format (yyyy-mm-ddThh:ii-ssZ) as sent by GitHub with error "Incorrect
datetime value".

This commit converts the date to ISO-9075 format as accepted per MySQL
documentation [1]

[1] http://dev.mysql.com/doc/en/date-and-time-functions.html#function_get-format

Fixes #39

morgant/source-integration,bright-tools/source-integration,bright-tools/source-integration,bright-tools/source-integration-fixes,mantisbt-plugins/source-integration,make-all/source-integration,bright-tools/source-integration-fixes,dregad/source-integration,make-all/source-integration,bright-tools/source-integration-fixes,morgant/source-integration,bright-tools/source-integration,mantisbt-plugins/source-integration,morgant/source-integration,bright-tools/source-integration,mantisbt-plugins/source-integration,dregad/source-integration,dregad/source-integration,make-all/source-integration