refine {time} substitute
Bug #799342 reported by
Adam Reviczky
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-builder |
Triaged
|
Low
|
Unassigned |
Bug Description
Currently the {time} substitute produces a yyyymmddhhmm format (like: 201106190815).
It would be nice if one could define a custom format, like for example the following:
{time} => 201106190815
{time:yyyymmdd} => 20110619
{time:yyyy.mm.dd} => 2011.06.19
{time:yy.mm.dd} => 11.06.19
{time:dd.mm.yy} => 19.06.11
The ones that I would need myself are: yyyymmdd (aka no hours and minutes) and yyyy.mm.dd (separated with dots, no hours and minutes).
Any solution that would produce this is fine with me.
Changed in bzr-builder: | |
status: | New → Triaged |
importance: | Undecided → Low |
To post a comment you must log in.
On Sun, 19 Jun 2011 09:50:56 -0000, Adam Reviczky <email address hidden> wrote:
> Public bug reported:
>
> Currently the {time} substitute produces a yyyymmddhhmm format (like:
> 201106190815).
>
> It would be nice if one could define a custom format, like for example the following:
> {time} => 201106190815
> {time:yyyymmdd} => 20110619
> {time:yyyy.mm.dd} => 2011.06.19
> {time:yy.mm.dd} => 11.06.19
> {time:dd.mm.yy} => 19.06.11
>
> The ones that I would need myself are: yyyymmdd (aka no hours and
> minutes)
Does {date} do what you need here?
> and yyyy.mm.dd (separated with dots, no hours and minutes).
Why do you need the form with the dots?
Thanks,
James