Opened 18 years ago
Closed 12 years ago
#578 closed enhancement (fixed)
Not all strftime format sequences allowed for wiki-page-format
Reported by: | chous | Owned by: | Steffen Hoffmann |
---|---|---|---|
Priority: | normal | Component: | WikiCalendarMacro |
Severity: | normal | Keywords: | per-week |
Cc: | Ryan J Ollos | Trac Release: | 0.11 |
Description
I'm interested in using WikiCalendarMacro to provide a linked calendar to per-week tasks, and using python's %U or %W always return a 00.
Attachments (0)
Change History (11)
comment:1 Changed 15 years ago by
Owner: | changed from Matt Good to Ryan J Ollos |
---|
comment:2 Changed 15 years ago by
Status: | new → assigned |
---|
comment:3 Changed 15 years ago by
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
comment:4 Changed 15 years ago by
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
Summary: | Not all time formats are allowed → Not all time formats are allowed for wiki-page-format |
Type: | defect → enhancement |
The problem is the last optional argument, wiki-page-format
. I want to use the current week in year, and looking at python docs it seems it should support %U or %W, but it doesn't. Or at least it didn't at the time I tested it.
comment:5 Changed 14 years ago by
Keywords: | per-week added |
---|---|
Summary: | Not all time formats are allowed for wiki-page-format → Not all strftime formats allowed for wiki-page-format |
Seems like a reasonable requirement to me.
With regards to #7564 I'd appreciate, if you could test your issue with the current version of WikiTicketCalendarMacro, the 'sister' plugin to WikiCalendarMacro, and report back here. I did a quick check and found both %U and %W working with WikiTicketCalendarMacro. The difference is, that with %U the week-task-page will be linked to all days of a given week plus the Sunday before, while with %W this switches to show the Sunday after Saturday of that week as related. AFAIKS, you could even switch later after creating some pages, if you change your mind on this, or if we start to allow user-configuration of fist-day-of-week (see #7473).
I can't make promises, but this might be a step towards finally solving this issue. Thanks for your patience and for still taking care.
comment:6 Changed 14 years ago by
Cc: | Ryan J Ollos added; anonymous removed |
---|---|
Owner: | changed from Ryan J Ollos to Steffen Hoffmann |
Status: | reopened → new |
comment:7 Changed 14 years ago by
Ping. chous@acm-sl.org, would you please test the WikiTicketCalendarMacro in current WikiCalendarMacro trunk
?
The WikiCalendarMacro will be integrated there very soon, so your test report would help me a lot to get this improvement done for you and me.
comment:8 Changed 13 years ago by
Keywords: | needinfo added |
---|---|
Trac Release: | 0.9 → 0.11 |
I'll test this on my own now and eventually close, if I find this still working.
Nevertheless any additional test feedback referring to current trunk
code would be appreciated.
comment:9 Changed 13 years ago by
Keywords: | needinfo removed |
---|
Confirm - any macro argument containing %U
, %W
and both even in combination with more date/time format sequences tested with the code adapted from WikiTicketCalendarMacro (still) works-for-me.
comment:10 Changed 13 years ago by
Summary: | Not all strftime formats allowed for wiki-page-format → Not all strftime format sequences allowed for wiki-page-format |
---|
comment:11 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [12842]) WikiCalendarMacro: Releasing current, tested macro package as final product, closes #64, #578, #6636, #7564, #7653, #8818, #9568, #9718 and #9719.
After a long time one of the oldest Trac hacks (see changeset [53]) is united with its ambitious fork WikiTicketCalendarMacro for convenience. While maintaining separate wiki pages for both macros, upstream development continues together in the source:wikicalendarmacro/trunk branch.
I don't understand this ticket, so I'm going to close it, but please reopen if you are willing to clarify.