]> source.dussan.org Git - nextcloud-server.git/commit
Added dateOnly argument to relative_modified_date
authorVincent Petry <pvince81@owncloud.com>
Wed, 2 Oct 2013 13:44:44 +0000 (15:44 +0200)
committerVincent Petry <pvince81@owncloud.com>
Wed, 2 Oct 2013 13:52:44 +0000 (15:52 +0200)
commit31e1c15db722d8363ceab6c97da14d703badb4f5
tree9247f348bada53f064f12a050b337e61c5230da3
parent551e80979046358b9cbc8a0f8db0ff9cdf919e33
Added dateOnly argument to relative_modified_date

Improved the template function relative_modified_date by adding an
optional dateOnly argument which will output "today" or "yesterday" or
"x days ago".
lib/private/template/functions.php
lib/public/template.php