Modify ↓
#1145 closed enhancement (fixed)
[Patch] Start on sunday option
| Reported by: | josestefan | Owned by: | Matt Good |
|---|---|---|---|
| Priority: | normal | Component: | WikiCalendarMacro |
| Severity: | minor | Keywords: | |
| Cc: | Trac Release: | 0.10 |
Description
the calander should have the option of starting on Sundays.
Attachments (1)
Change History (5)
Changed 16 years ago by
| Attachment: | wikicalendar-locale.diff added |
|---|
comment:1 Changed 16 years ago by
I've attached a patch which makes it respect the locale setting. This may only work on Unix since it uses popen(). Also, at least if you're running Trac via Apache 2 and mod_fcgid, you'll need to add an explicit LANG setting to your DefaultInitEnv variables because mod_fcgid clears the environment except for whatever you specify in those variables.
comment:2 Changed 16 years ago by
| Summary: | start on sunday option → [Patch] Start on sunday option |
|---|
comment:3 Changed 16 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:4 Changed 13 years ago by
(In [12989]) WikiCalendarMacro: Add optional week numbers, refs #1145, #7639 and #8175.
Rationale and constraints of current implementation:
- support any calendar per instance (use 'w' key-word) - no dependencies
- use basic start-of-week negotiation, if Babel is not installed
- use auto-negotiation for locale-aware Trac versions (since Trac 0.12)
- use advanced locale detection (similar to Trac 1.0.2)
Because I've found an issue with week number calculation in Babel, this plugin does it on its own for now.
Note: See
TracTickets for help on using
tickets.



Make WikiCalendar respect the locale setting