Fix by date weekly filter query to use Setting.start_of_week
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.