internal/frontend/assets/html: make timestamp human readable (#1107)

Since we switch to use databroker, time in template is now protobuf
timestamp instead of time.Time, that causes it appears in raw form
instead of human-readable format.

Fix this by converting protobuf timestamp to time.Time in template.
There's still a breaking change, though. The time will now appears in
UTC instead of local time.

Fixes #1100
This commit is contained in:
Cuong Manh Le 2020-07-20 13:35:57 +07:00 committed by GitHub
parent 0f17fb0d95
commit 9dae633fe5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 81 additions and 5 deletions

File diff suppressed because one or more lines are too long