[Tong] Refactor format time show in controller.js