Fix invalid format date error with non-english locale.
Merge pull request #66 from skyisle/master

Fix invalid format date error with non-english locale.