Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-11236

"hours ago" wrong rounding (BB-12729)

    XMLWordPrintable

Details

    Description

      In the list of commits, when the times displayed in the Date column are shown in the format "N hours ago", the rounding is done wrong. Instead of rounding, it's flooring.

      For example, when it reads "2 hours ago" it actually means "between 2h00' and 2h59' ago".

      Instead, the "time ago" should be rounded to the nearest integer rather than floored.
      "2 hours ago" should mean "between 1h30' and 2h30' ago".

      I have noticed this in the commit view but it may affect the times shown elsewhere as well.

      Attachments

        Activity

          People

            Unassigned Unassigned
            b3ffad1ca15e matteosistisette
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: