DateDurationFormatter incorrectly calculates weeks when months are being displayed

Description

If showMonths and showWeeks are both true, DateDurationFormatter incorrectly calculates remaining weeks.
E.g. given:

  • from date = 16/07/2010

  • to date = 03/07/2011
    The result should be:

    11 Months 2 Weeks

    Its currently formatting as:

    11 Months

Environment

None

Activity

Tim Anderson August 11, 2011 at 6:10 PM

Fixed in archetypes, revision 4287

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Who's Looking?

Open Who's Looking?

Created July 4, 2011 at 2:45 AM
Updated July 19, 2012 at 7:49 PM
Resolved August 11, 2011 at 6:10 PM
Who's Looking?

Flag notifications