Issues

Issue #9410 resolved

Source list dates are all being set to current-timestamp on page load.

Rob Jackson
created an issue

When loading the source-tree view of a repository, all of the last-modified dates are displaying "Just now", and as time ticks on they tick with it - to "... seconds ago", "... minutes ago", and then a refresh goes straight back to "Just now".

I took a quick look at the page, and I'm guessing this is the endpoint that loads in the relevant data: https://bitbucket.org/xhr/source-lastmod/USER/REPOSITORY/LAST_COMMIT however this just returns divs without any data, e.g.

<div data-for="#sourcelist-date-ac52dab53b4fa277ecf60644f5667270cd40ad40"><time datetime="" data-title="true">unknown</time></div>
  <div data-for="#sourcelist-text-ac52dab53b4fa277ecf60644f5667270cd40ad40">



  </div>

Snippet from https://bitbucket.org/xhr/source-lastmod/RJacksonm1/dotabank-gc/939bfbe2fb33619550bcbec67a31261051e15713/


Reproduction steps

Go to the source-tree view of a repository (easy :D)

Expected behaviour

The last-modified date shows when the files were indeed last-modified.

Actual behaviour

The last-modified date simply states "Just now".

Comments (3)

  1. Michael Frauenholtz staff

    Hi Rob Jackson

    As part of the work we're doing to resolve our recent performance problems, we've temporarily turned off the last modified time for files. This can be expensive to calculate, and we're trying to give priority to more important parts of the site. These times will return once we have the site healthy again. You can check the status of this at http://status.bitbucket.org.

  2. Log in to comment