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

Fix time to date string
Merge branch 'user' into user-adivspan