Opened 7 years ago
Closed 7 years ago
#13689 closed enhancement (fixed)
BCalendarView: Fix issues with displaying locale based day name header.
Reported by: | akshay | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | - General | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
- Use BDateFormat::GetDayName() to fetch weekday names.
- Use appropriate symbol width(Mon, Mo, M) depending on the frame width.
- Provide functionality to update day name header in case of locale preferences change.
Attachments (4)
Change History (7)
by , 7 years ago
Attachment: | 0001-BCalendarView-Fix-displaying-locale-based-day-name-h.patch added |
---|
comment:1 by , 7 years ago
patch: | 0 → 1 |
---|
by , 7 years ago
Attachment: | 0001-Time-Preferences-Update-CalendarView-day-name-header.patch added |
---|
by , 7 years ago
Attachment: | 0001-Properly-map-day-values-to-ICU-day-of-week.patch added |
---|
comment:2 by , 7 years ago
For clarity, I would make a dedicated function for this. As it is now, reading the code, people will wonder what this line is doing. If you move it into a separate inline function then it becomes clear what's the purpose. Something like convertDayNumberToICU or so.
by , 7 years ago
Attachment: | 0001-BDateFormat-Properly-map-day-values-to-ICU-day-of-we.patch added |
---|
comment:3 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Applied remaining changes in hrev51428.
Note:
See TracTickets
for help on using tickets.
Time Preferences: update day name header in calendar view on locale preferences change.