Show timelapse for comments if they are less than 1 day old

Bug #1536439 reported by raf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
raf

Bug Description

This feature shows the last time since the page was updated. For example to show: Last Update: 6 Hours Ago. It's only going to display as a whole integer.

raf (rafaelgoesmann)
Changed in mahara:
status: New → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/5951

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "master" branch: https://reviews.mahara.org/5953

Changed in mahara:
milestone: none → 16.04.0
assignee: nobody → raf (rafaelgoesmann)
importance: Undecided → Wishlist
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/5951
Committed: https://git.mahara.org/mahara/mahara/commit/4241b640d984391c37d6eacff16d6870f8056b25
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 4241b640d984391c37d6eacff16d6870f8056b25
Author: RafGDev <email address hidden>
Date: Thu Jan 21 15:33:32 2016 +1300

Bug 1536439 Show timelapse for comments if they are less than 1 day old

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.

behatnotneeded

Change-Id: I426d10da9ebc7ef1a5b464146fca386f19977579

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
tags: added: nominatedfeature
removed: wishlist
summary: - Updated time for pages
+ Show timelapse for comments if they are less than 1 day old
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.