mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Improve timezone handling
This commit is contained in:
parent
519d4fcd73
commit
a63105e13b
14 changed files with 50 additions and 48 deletions
|
@ -35,7 +35,7 @@ type Controller struct {
|
|||
|
||||
func (c *Controller) getCommonTemplateArgs(ctx *core.Context) (tplParams, error) {
|
||||
user := ctx.LoggedUser()
|
||||
builder := c.store.GetEntryQueryBuilder(user.ID, user.Timezone)
|
||||
builder := c.store.NewEntryQueryBuilder(user.ID)
|
||||
builder.WithStatus(model.EntryStatusUnread)
|
||||
|
||||
countUnread, err := builder.CountEntries()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue