#7947: [Time] Calendar doesn't respect current locale's week start day ---------------------------------------+---------------------------- Reporter: hamish | Owner: zooey Type: bug | Status: reopened Priority: normal | Milestone: R1 Component: Preferences/Time & Date | Version: R1/Development Resolution: | Keywords: time locale Blocked By: | Blocking: Has a Patch: 1 | Platform: All ---------------------------------------+---------------------------- Comment (by hamish): Here's my ideas for solving this ticket + #6422 and #7652 1. Remove B_WEEK_START_* enum from CalendarView. 2. Add more general B_DAY_* and B_MONTH_* enums to BDate. 3. Add functions to locale kit to get day/month names using ICU (in BLocale/BFormattingConventions/new class?). 4. Have BDate use those functions instead of strftime. 5. Have BLocale::StartOfWeek() return any day instead of just Mon/Sun (using new BDate enums). 6. Add something like BLocale::MinDaysInFirstWeek(), which is the other locale-specific calendar parameter provided by ICU. 7. Have CalendarView query the locale kit for those parameters by default (also, have option to override that behaviour). -- Ticket URL: <http://dev.haiku-os.org/ticket/7947#comment:11> Haiku <http://dev.haiku-os.org> Haiku - the operating system.