Modify

Opened 8 years ago

Closed 16 months ago

#578 closed enhancement (fixed)

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

Reported by: chous@… Owned by: 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 (0)

Change History (11)

comment:1 Changed 5 years ago by rjollos

  • Owner changed from mgood to rjollos

comment:2 Changed 5 years ago by rjollos

  • Status changed from new to assigned

comment:3 Changed 4 years ago by rjollos

  • Resolution set to worksforme
  • Status changed from assigned to closed

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 4 years ago by chous@…

  • Resolution worksforme deleted
  • Status changed from closed to reopened
  • Summary changed from Not all time formats are allowed to Not all time formats are allowed for wiki-page-format
  • Type changed from defect to 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 4 years ago by hasienda

  • Keywords per-week added
  • 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.

comment:6 Changed 4 years ago by rjollos

  • Cc rjollos added
  • Owner changed from rjollos to hasienda
  • Status changed from reopened to new

comment:7 Changed 4 years ago 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.

comment:8 Changed 3 years ago by hasienda

  • Keywords needinfo added
  • Trac 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.

comment:9 Changed 3 years ago by hasienda

  • 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 3 years ago 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

comment:11 Changed 16 months ago by hasienda

  • Resolution set to fixed
  • Status changed from new to 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.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from hasienda. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.