re-implement time_format()

try whether it's working on phone
merge
Merge branch 'master' of https://github.com/ForgetLastNight/ForgetLastNight.github.io