]> source.dussan.org Git - nextcloud-server.git/commit
Added unit tests for relative_modified_date, changed method signature
authorVincent Petry <pvince81@owncloud.com>
Wed, 2 Oct 2013 18:16:35 +0000 (20:16 +0200)
committerVincent Petry <pvince81@owncloud.com>
Thu, 3 Oct 2013 11:55:05 +0000 (13:55 +0200)
commitb0bb64c3eebce41a35cfe6674f63f454d22f200c
treef3533296fd80835cf1d545ccdd5c01ae92a3d479
parented14541aea648605536c8180ab56f511013bce38
Added unit tests for relative_modified_date, changed method signature

Changed method signature of relative_modified_date template method to
make it possible to add a fromTime to compare with, mostly to make it
possible to test it.

Added unit test for date and time cases.
lib/private/template/functions.php
lib/public/template.php
tests/lib/template.php