Ticket #578 (closed enhancement: fixed)

Opened 7 years ago

Last modified 2 months ago

Not all strftime format sequences allowed for wiki-page-format

Reported by: chous@acm-sl.org Assigned to: hasienda
Priority: normal Component: WikiCalendarMacro
Severity: normal Keywords: per-week
Cc: rjollos 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

Change History

12/31/09 22:57:19 changed by rjollos

  • owner changed from mgood to rjollos.

01/13/10 22:21:38 changed by rjollos

  • status changed from new to assigned.

06/11/10 08:33:56 changed by rjollos

  • status changed from assigned to closed.
  • resolution set to worksforme.

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

06/11/10 17:52:00 changed by chous@acm-sl.org

  • status changed from closed to reopened.
  • resolution deleted.
  • type changed from defect to enhancement.
  • summary changed from Not all time formats are allowed to Not all time formats are allowed for wiki-page-format.

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.

08/28/10 15:05:02 changed by hasienda

  • keywords set to per-week.
  • summary changed from Not all time formats are allowed for wiki-page-format to 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.

08/30/10 07:09:00 changed by rjollos

  • cc set to rjollos.
  • owner changed from rjollos to hasienda.
  • status changed from reopened to new.

12/13/10 01:58:50 changed by hasienda

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.

12/01/11 22:16:20 changed by hasienda

  • keywords changed from per-week to needinfo per-week.
  • release changed from 0.9 to 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.

12/01/11 22:29:13 changed by hasienda

  • keywords changed from needinfo per-week to per-week.

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.

12/01/11 22:30:14 changed by hasienda

  • summary changed from Not all strftime formats allowed for wiki-page-format to Not all strftime format sequences allowed for wiki-page-format.

03/30/13 12:32:55 changed by hasienda

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #578 (Not all strftime format sequences allowed for wiki-page-format)




Change Properties
Action