Project

General

Profile

Actions

Patch #33554

open

Fix by date weekly filter query to use Setting.start_of_week

Added by Konstantin Borisov almost 4 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues filter
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Currently when you search issues or time log entries with using "this week", "next week", "last week" and "last 2 week" conditions it uses current user locale setting of when the week is started. For example EN locale is using Sunday as week start and RU locale is using Monday week starts. We have a Setting.start_of_week that allow to configure when the calendar weeks should be started, but Issue filters ignores this setting.

This patch makes the fix, so the issues query use the Setting.start_of_week value configured for the Redmine instance for weekly queries. And it were possible to have issue queries with weeks started from Monday having the EN UI locale configured.


Files

query_start_of_week.patch (3.82 KB) query_start_of_week.patch Konstantin Borisov, 2020-06-04 17:29
Actions

Also available in: Atom PDF