diff options
author | 2017-12-28 19:20:14 -0800 | |
---|---|---|
committer | 2017-12-28 19:20:14 -0800 | |
commit | a63105e13b7641dfbcd9ebb973f2541c7660c67e (patch) | |
tree | c8f6af2a5087f8579333169b56962286869413ce /server/ui/controller/category.go | |
parent | 519d4fcd739cf306c97cd04c3f786f5fb9a2b800 (diff) | |
download | v2-a63105e13b7641dfbcd9ebb973f2541c7660c67e.tar.gz v2-a63105e13b7641dfbcd9ebb973f2541c7660c67e.tar.zst v2-a63105e13b7641dfbcd9ebb973f2541c7660c67e.zip |
Improve timezone handling
Diffstat (limited to 'server/ui/controller/category.go')
-rw-r--r-- | server/ui/controller/category.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/ui/controller/category.go b/server/ui/controller/category.go index 9bb12fb8..cf378c6d 100644 --- a/server/ui/controller/category.go +++ b/server/ui/controller/category.go @@ -51,7 +51,7 @@ func (c *Controller) ShowCategoryEntries(ctx *core.Context, request *core.Reques return } - builder := c.store.GetEntryQueryBuilder(user.ID, user.Timezone) + builder := c.store.NewEntryQueryBuilder(user.ID) builder.WithCategoryID(category.ID) builder.WithOrder(model.DefaultSortingOrder) builder.WithDirection(user.EntryDirection) |