mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-02 08:19:23 +02:00
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:
parent
0f17fb0d95
commit
9dae633fe5
3 changed files with 81 additions and 5 deletions
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue