aboutsummaryrefslogtreecommitdiff
path: root/server/ui/controller/controller.go
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net> 2017-12-28 19:20:14 -0800
committerGravatar Frédéric Guillot <fred@miniflux.net> 2017-12-28 19:20:14 -0800
commita63105e13b7641dfbcd9ebb973f2541c7660c67e (patch)
treec8f6af2a5087f8579333169b56962286869413ce /server/ui/controller/controller.go
parent519d4fcd739cf306c97cd04c3f786f5fb9a2b800 (diff)
downloadv2-a63105e13b7641dfbcd9ebb973f2541c7660c67e.tar.gz
v2-a63105e13b7641dfbcd9ebb973f2541c7660c67e.tar.zst
v2-a63105e13b7641dfbcd9ebb973f2541c7660c67e.zip
Improve timezone handling
Diffstat (limited to 'server/ui/controller/controller.go')
-rw-r--r--server/ui/controller/controller.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/ui/controller/controller.go b/server/ui/controller/controller.go
index 8f1f4154..8a45912b 100644
--- a/server/ui/controller/controller.go
+++ b/server/ui/controller/controller.go
@@ -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()