Fix time to date string
Merge pull request #488 from liuchuangww/user

Fix time to date string