• RafGDev's avatar
    Bug 1536439 Show timelapse for comments if they are less than 1 day old · 4241b640
    RafGDev authored
    Adding a format_timelapse(timestamp1, timestamp2) function to return a
    human readable time difference if the difference is less than a day,
    eg 3 hours and 1 min ago to give visual cue that the item was
    made/updated very recently.
    Change-Id: I426d10da9ebc7ef1a5b464146fca386f19977579
lib.php 71.1 KB