Project

General

Profile

Actions

Feature #4363

closed

Change the calendar pop-up to start on Monday to tie up with ISO week numbers

Added by Anonymous about 15 years ago. Updated 10 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Target version:
Start date:
2009-12-08
Due date:
% Done:

100%

Estimated time:
Resolution:
Fixed

Description

The time reports allow you to group items by week number. ISO week numbers run Monday-Sunday. The calendar pop-up displays Sunday-Saturday which isn't as useful when trying to pick dates to show a report for a specific set of weeks.

Please can the calendar pop-up be changed to show weeks beginning on a Monday to avoid confusion as to what 'redmine' weeks are.

Currently running Redmine-0.8.7

Actions #1

Updated by Jean-Philippe Lang about 15 years ago

  • Category changed from Time tracking to UI
Actions #2

Updated by Eric Davis about 15 years ago

  • Status changed from New to 7
  • Assignee set to Eric Davis
  • Target version set to 0.9.0

I have a small patch from a customer that adds a system-wide setting to pick what day calendars should start on:

  • Based on language (default) (current behavior)
  • Sunday (US-like)
  • Monday (EU-like)
Actions #3

Updated by Anonymous about 15 years ago

That sounds great. However, if the start day was Sunday, would that affect how week numbers were generated in time reports too?

Actions #4

Updated by Eric Davis about 15 years ago

  • Status changed from 7 to Closed
  • % Done changed from 0 to 100
  • Resolution set to Fixed

Added a setting to change the start of the week for the calendars (popup calendar and the issues calendar). The three options are: Language (default), Sunday, and Monday.

Russell Hind wrote:

That sounds great. However, if the start day was Sunday, would that affect how week numbers were generated in time reports too?

Ruby on Rails (which Redmine is built on) uses Monday as the start of the week and Sunday as the end of the week. So Redmine will use Monday through Sunday when it is calculating week numbers.

Actions #5

Updated by Anonymous about 15 years ago

Thanks Eric, that sounds great.

Actions #6

Updated by Eugene Belford 10 days ago

guys why is this closed? iam on a 5.1.3 and my calendar widget didnt respects start_of_the_week setting at all
week always starts on sunday

Actions #7

Updated by Holger Just 10 days ago

Eugene Belford If you observe a new error, you should open a new issue. Comments on 15-year closed issues may not be seen by many people...

In any case, note that for quite some time, the datepicker control is generally provided entirely by your browser rather than being something provided by Redmine (similar to checkboxes, text fields, select boxes, whose behavior is also governe4d by the browser and the OS it runs on).

Your browser will generally follow the date setting defined within your operation system when showing the control. To use Monday as the first day of the week in the datepicker, you should thus reconfigure your operating system to that setting.

Actions

Also available in: Atom PDF