Added new MWTimestamp::getRelativeTimestamp for pure relative.
authorTyler Anthony Romeo <tylerromeo@gmail.com>
Thu, 24 Jan 2013 22:38:36 +0000 (17:38 -0500)
committerTyler Anthony Romeo <tylerromeo@gmail.com>
Tue, 24 Sep 2013 23:40:48 +0000 (19:40 -0400)
commitfa84729e54d2256c5b352e096f8a23c049a307d5
tree59ba37dab89f7ac73ba6bdfe8aaee28a4be60a3f
parente990facd730ef042516a25d67f2ed86ec352096b
Added new MWTimestamp::getRelativeTimestamp for pure relative.

Since MWTimestamp::getHumanTimestamp just makes a pretty
timestamp, and not a purely relative one, this commit adds
MWTimestamp::getRelativeTimestamp, which does just that.

Change-Id: I8b3e3fc6eeb4afd58f85fa7d05b5ea1a51b0afb6
docs/hooks.txt
includes/Timestamp.php
tests/phpunit/includes/TimestampTest.php