fix mysql date and datetime interpretation
Merge pull request #2 from mkdgs/master

fix mysql date and datetime interpretation