Closed
Bug 373350
Opened 18 years ago
Closed 18 years ago
Days in minimonth should not be shrinked to one character
Categories
(Calendar :: Sunbird Only, defect)
Calendar
Sunbird Only
Tracking
(Not tracked)
RESOLVED
FIXED
0.7
People
(Reporter: thorsten.fritz, Assigned: mschroeder)
References
Details
Attachments
(3 files, 2 obsolete files)
2.76 KB,
patch
|
mvl
:
review+
|
Details | Diff | Splinter Review |
3.91 KB,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
4.16 KB,
image/gif
|
Details |
In german, the days in minimonth are displayed "Mo" "Di" "Mi "Do" "F" "Sa" "So".
Only Friday has one character, so this should be changed so that all days have two characters.
Comment 1•18 years ago
|
||
Confirmed.
After Bug 317607 being fixed the abbreviations for the day names are now retrieved from localization language and not calculated from the full OS day names.
Currently also the abbreviations from localization will be shorten automatically: http://lxr.mozilla.org/mozilla1.8/source/calendar/resources/content/datetimepickers/minimonth.xml#217
This should not be done as it will result in unwanted or uncommon abbreviations. For example in German the minimonth header should be "Mo Di Mi Do Fr Sa So" and not "Mo Di Mi Do F Sa So".
Assignee | ||
Comment 2•18 years ago
|
||
Removed "retrieve day names from OS" and "shrinking of day names" parts.
Assignee: nobody → mschroeder
Status: NEW → ASSIGNED
Attachment #259215 -
Flags: first-review?(lilmatt)
Assignee | ||
Comment 3•18 years ago
|
||
Comment on attachment 259215 [details] [diff] [review]
Patch v1
Better patch in preparation.
Attachment #259215 -
Attachment is obsolete: true
Attachment #259215 -
Flags: first-review?(lilmatt)
Assignee | ||
Comment 4•18 years ago
|
||
Removed "retrieve day names from OS", "shrinking of day names" parts and combined for-loops.
Attachment #259222 -
Flags: first-review?(lilmatt)
Comment 5•18 years ago
|
||
Comment on attachment 259222 [details] [diff] [review]
Patch v2
The fallback to get the dates from the OS should not be removed. It might be needed if somebody tries to use the datepicker outside calendar.
You could set a bool when you needed to use the fallback, and later only shrink when the bool is set.
Attachment #259222 -
Flags: first-review?(lilmatt) → first-review-
Assignee | ||
Comment 6•18 years ago
|
||
Shrinking of day names only if fallback to OS format.
Attachment #259222 -
Attachment is obsolete: true
Attachment #262133 -
Flags: review?(mvl)
Comment 7•18 years ago
|
||
Comment on attachment 262133 [details] [diff] [review]
Patch v3
r=mvl
Attachment #262133 -
Flags: review?(mvl) → review+
Assignee | ||
Updated•18 years ago
|
Whiteboard: [checkin needed after 0.5]
Comment 8•18 years ago
|
||
Doesn't this patch conflict with the patch in Bug 364672?
Assignee | ||
Comment 9•18 years ago
|
||
Merged patch for the conflicting patches from bug 373350 (this one) and 364672.
Updated•18 years ago
|
Attachment #270906 -
Flags: review+
Comment 10•18 years ago
|
||
Checked in merged patch on HEAD and MOZILLA_1_8_BRANCH
-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed after 0.5]
Target Milestone: --- → 0.7
Comment 11•18 years ago
|
||
Some of the day names in my minimonth are still one character (see screenshot).
U.S. English
Lightning 0.7pre 2007080305
Comment 12•18 years ago
|
||
(In reply to comment #11)
> Some of the day names in my minimonth are still one character
Because they are specified as one character only -> everything is OK
http://lxr.mozilla.org/mozilla/source/calendar/locales/en-US/chrome/calendar/dateFormat.properties#83
You need to log in
before you can comment on or make changes to this bug.
Description
•