Defect #17625
closed
Wrong week number in JQuery datepicker if start of week day is Sunday
Added by Mario Scondo over 10 years ago.
Updated over 5 years ago.
Description
Calendar shows incorrect week number.
In the screenshot the date 2014-08-07 is part of week number 31. Correct would be 32.
Screenshot:
Details regarding my installation of Redmine:
Environment:
Redmine version 2.5.2.stable.13335
Ruby version 2.1.0-p0 (2013-12-25) [x86_64-linux]
Rails version 3.2.19
Environment production
Database adapter Mysql2
SCM:
Subversion 1.6.19
Mercurial 1.7.5
Cvs 1.12.12
Bazaar 2.0.5
Git 1.7.3.4
Filesystem
Redmine plugins:
due_date_reminder 0.4
redmine_wiki_extensions 0.6.0
redmine_work_time 0.2.6
sidebar 0.1.0
wiking 1.0.0b
Files
- Copied from Defect #3271: Wrong week number in Calendar added
- Start date deleted (
2009-04-30)
- Subject changed from Wrong week number in Calendar to Wrong week number in JQuery datepicker
- Subject changed from Wrong week number in JQuery datepicker to Wrong week number in JQuery datepicker if start of week day is Sunday
- Status changed from New to Confirmed
Confirmed.
- OK: start of week day is Monday
- NG: start of week day is Sunday
It seems JQuery datepicker bug.
- Related to Defect #4857: Week number calculation in date picker is wrong if a week starts with Sunday added
- Copied from deleted (Defect #3271: Wrong week number in Calendar)
Edit application.css
@import url(bugfix.css);
Add bugfix.css
datepicker-year {
width: 47% !important;
}
datepicker-month {
width: 47% !important;
}
th.ui-datepicker-week-col {
display: none;
}
td.ui-datepicker-week-col {
display: none;
}
select.ui-datepicker-month {
float: left;
}
- Status changed from Confirmed to Closed
- Resolution set to Wont fix
Also available in: Atom
PDF