Merge lp:~stevenk/launchpad/in-a-moment into lp:launchpad

Proposed by Steve Kowalik
Status: Merged
Approved by: Steve Kowalik
Approved revision: no longer in the source branch.
Merged at revision: 13338
Proposed branch: lp:~stevenk/launchpad/in-a-moment
Merge into: lp:launchpad
Diff against target: 0 lines
To merge this branch: bzr merge lp:~stevenk/launchpad/in-a-moment
Reviewer Review Type Date Requested Status
Steve Kowalik (community) code Approve
Review via email: mp+66462@code.launchpad.net

Commit message

[r=stevenk][bug=147428] Return 'a moment', rather than the exact time if the time is ten seconds or less.

Description of the change

Change the TALES approximatedate formatter to return 'a moment' if the time is ten seconds or less.

I have changed, rather than outright deleted the doctest for it, since it is actually quite pleasant for a doctest.

To post a comment you must log in.
Revision history for this message
Steve Kowalik (stevenk) wrote :

Graham says this is awesome.

review: Approve (code)
Revision history for this message
Martin Pool (mbp) wrote :

On 30 June 2011 14:23, Steve Kowalik <email address hidden> wrote:
> Review: Approve code
> Graham says this is awesome.

He's right.

Preview Diff

Empty