1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-09-15 18:57:04 +00:00

Show last login and session creation date in current timezone

This commit is contained in:
Frédéric Guillot 2018-03-04 17:04:31 -08:00
parent 5185bf0c7e
commit 609c57332e
6 changed files with 41 additions and 6 deletions

View file

@ -24,6 +24,7 @@ func (c *Controller) ShowSessions(ctx *handler.Context, request *handler.Request
return
}
sessions.UseTimezone(user.Timezone)
response.HTML().Render("sessions", args.Merge(tplParams{
"sessions": sessions,
"currentSessionToken": ctx.UserSessionToken(),