Feature Proposal: Suggestion for true two-digit week format in GMTIME
For generation of automatic up-to-date links referring to weeks, such as Project2010Week02
, I need the week in true two-digit format (i.e. 02, not 2).
Description and Documentation
I suggest a new format in GMTIME, $we, which, analogously to $mo, returns the week number in two digits (i.e. 02, not 2). This is just a matter of convenience, I have already a work-around via the IF command: Project2010Week50
does the trick. Thanks for considering.
-- Contributors: ThomasSchietinger
- 04 Mar 2010
Very easy change, just need to add $we which is a 0-padded version of $week. Already coded it. Waiting for approval before releasing.
- 08 Feb 2012
If you have time... it would be massively nifty if GMTIME could be made to take a
Anyway, the relevant task for this proposal is Tasks.Item11506
- 22 Feb 2012
It wasn't in the original task, and I don't feel that confident in hacking it in, even though it's a very small change. It wasn't part of the feature request... But I've coded it too, so if you tell me how/where to commit it...
- 24 Feb 2012
It wasn't in the original feature request so isn't part of this feature, but requires a new feature request. With documentation describing what the "time" parameter is
, cos it isn't clear above.
- 25 Feb 2012
Hi Crawford, I should know better than to hijack existing proposals, sorry.
- 26 Feb 2012
It appears that this was merged to core back in 1.1.4. Tasks is closed. Closing request.
- 18 Nov 2015