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:
parent
5185bf0c7e
commit
609c57332e
6 changed files with 41 additions and 6 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue