Better commit date format when older than N days (BB-8076)

Issue #6921 resolved
Matt Finlay
created an issue

In the commit history the 'Date' column shows 'x days ago' up to a month ago. This quickly (beyond a day or two ago) gets very unhelpful, 21 days ago makes much less sense that Feb-22. While I can hover over each date individually to get the date, this is fiddly and means they have to be checked one at a time.

Switching to a date for anything before yesterday, or even up to five days ago would be much easier to interpret.

Comments (16)

  1. Thomas Woodard

    As a developer, I need to know the date and time a commit has been made, specially in the commit history listing and view. Can we add always have the full date in these sections, or maybe an option to switch formats site wide in my personal settings?

  2. Kurt Dekker

    I second removal of this useless "N days ago" feature. I cannot use the tooltip workaround on a touchscreen tablet, which is 99% of my use of the bitbucket website.

    Can we get a global option to never use this ambiguous and completely unhelpful date format? It adds zero value and is a constant source of irritation, to the point where I use bitbuckets web interface less than I otherwise would,

  3. Stepanov Stanislav

    Solved! - https://s.mail.ru/D9Fr/rUg1Ff8H4

    Flexible solution for Google Chrome and other browser where you can find plugin with name "Control Freak".
    

    link to webstore https://chrome.google.com/webstore/detail/control-freak/jgnchehlaggacipokckdlbdemfeohdhc

    1. setup plugin above
    2. click it - https://s.mail.ru/HAKX/jteUNPgnB - and choose "Этот сайт" and paste this script:
    https://yadi.sk/i/O72YHW6RuK6wp
    3. then choose "Библиотеки" (Libraries) and add jQuery plugin from CDN like this 
    https://s.mail.ru/7j34/2M42egY5Y
    works fine for me even if i change branch - result
    https://s.mail.ru/D9Fr/rUg1Ff8H4
    

    Sorry for "bad code", russian labels etc. =)

  4. Bob Stein

    Bitbucket gets an A+ for organizing this discontent, and a C- for resolving it. Here's a work-around git command that reproduces the information on the Bitbucket Commits page but with absolute date and time instead of relative.

    git log -30 --pretty=format:"%cn %h %<(69,trunc) %s %cd"
    
    Bob Stein 68af3f8  FedEx rate response analysis              Sun Jan 15 02:55:53 2017 -0500
    Bob Stein ee06257  FedEx rate response analysis              Sun Jan 15 02:47:27 2017 -0500
    Bob Stein 0dad41c  FedEx rate response analysis              Sun Jan 15 02:44:47 2017 -0500
    Bob Stein b11ee4a  fedex and ups server shakeup              Sun Jan 15 02:43:14 2017 -0500
    Bob Stein 05c43f2  fedex and ups server shakeup              Sun Jan 15 02:41:50 2017 -0500
    Bob Stein b92c699  fedex and ups server shakeup              Sun Jan 15 02:38:20 2017 -0500
    Bob Stein edf2a16  fedex and ups server shakeup              Sun Jan 15 00:31:16 2017 -0500
    Bob Stein 5e17faa  fedex and ups server shakeup              Sun Jan 15 00:27:42 2017 -0500
    Bob Stein a54a6e5  fedex and ups server shakeup              Sun Jan 15 00:25:52 2017 -0500
    Bob Stein b5f8c2b  fedex and ups server shakeup              Sun Jan 15 00:24:58 2017 -0500
    Bob Stein 01d3783  Tweaking js utilities                     Sat Jan 14 23:54:24 2017 -0500
    Bob Stein 8685caf  Tweaking js utilities                     Sat Jan 14 23:44:09 2017 -0500
    Bob Stein d0df38b  Tweaking js utilities                     Sat Jan 14 23:41:59 2017 -0500
    Bob Stein 786764a  Tweaking js utilities                     Sat Jan 14 23:40:46 2017 -0500
    Bob Stein cd26c50  Tweaking js utilities                     Sat Jan 14 23:36:23 2017 -0500
    Bob Stein b17a1b5  Tweaking js utilities                     Sat Jan 14 23:35:54 2017 -0500
    Bob Stein 6d57df3  Tweaking js utilities                     Sat Jan 14 23:12:57 2017 -0500
    Bob Stein 1ef53b0  Tweaking js utilities                     Sat Jan 14 23:12:26 2017 -0500
    Bob Stein 84377af  Tweaking js utilities                     Sat Jan 14 23:11:37 2017 -0500
    Bob Stein d58466e  Tweaking js utilities                     Sat Jan 14 23:08:08 2017 -0500
    Bob Stein e362e31  Tweaking js utilities                     Sat Jan 14 23:05:51 2017 -0500
    Bob Stein 2f81050  Tweaking js utilities                     Sat Jan 14 22:48:23 2017 -0500
    Bob Stein c21a5da  Tweaking js utilities                     Sat Jan 14 20:40:31 2017 -0500
    Bob Stein 0232f41  Tweaking js utilities                     Sat Jan 14 18:33:46 2017 -0500
    Bob Stein 23268ab  Tweaking js utilities                     Sat Jan 14 18:17:55 2017 -0500
    Bob Stein 866a6be  Tweaking js utilities                     Sat Jan 14 18:14:59 2017 -0500
    Bob Stein efca259  Tweaking js utilities                     Sat Jan 14 17:52:06 2017 -0500
    Bob Stein 63945db  UPS ItemizedCharges.SubType               Sat Jan 14 17:11:24 2017 -0500
    Bob Stein 28f074b  UPS ItemizedCharges.SubType               Sat Jan 14 15:34:59 2017 -0500
    Bob Stein 95ba629  UPS ItemizedCharges.SubType               Sat Jan 14 15:30:32 2017 -0500
    

    Screenshot 2017-01-15 17.47.18.png

    (Except, I'm not sure what that "Builds" column might show nor how to get it from git log.)

  5. Log in to comment