Modify

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 Ryan J Ollos

Owner: changed from Matt Good to Ryan J Ollos

comment:2 Changed 15 years ago by Ryan J Ollos

Status: newassigned

comment:3 Changed 15 years ago by Ryan J Ollos

Resolution: worksforme
Status: assignedclosed

I don't understand this ticket, so I'm going to close it, but please reopen if you are willing to clarify.

comment:4 Changed 15 years ago by chous

Resolution: worksforme
Status: closedreopened
Summary: Not all time formats are allowedNot all time formats are allowed for wiki-page-format
Type: defectenhancement

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 Steffen Hoffmann

Keywords: per-week added
Summary: Not all time formats are allowed for wiki-page-formatNot 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 Ryan J Ollos

Cc: Ryan J Ollos added; anonymous removed
Owner: changed from Ryan J Ollos to Steffen Hoffmann
Status: reopenednew

comment:7 Changed 14 years ago by Steffen Hoffmann

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 Steffen Hoffmann

Keywords: needinfo added
Trac Release: 0.90.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 Steffen Hoffmann

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 Steffen Hoffmann

Summary: Not all strftime formats allowed for wiki-page-formatNot all strftime format sequences allowed for wiki-page-format

comment:11 Changed 12 years ago by Steffen Hoffmann

Resolution: fixed
Status: newclosed

(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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Steffen Hoffmann.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.