diff options
Diffstat (limited to 'views/default/output/date.php')
-rw-r--r-- | views/default/output/date.php | 34 |
1 files changed, 15 insertions, 19 deletions
diff --git a/views/default/output/date.php b/views/default/output/date.php index d4fba97a0..fdc8e3a1b 100644 --- a/views/default/output/date.php +++ b/views/default/output/date.php @@ -1,21 +1,17 @@ <?php +/** + * Date + * Displays a properly formatted date + * + * @package Elgg + * @subpackage Core + * @author Curverider Ltd + * @link http://elgg.org/ + * + * @uses $vars['value'] A UNIX epoch timestamp + * + */ - /** - * Date - * Displays a properly formatted date - * - * @package Elgg - * @subpackage Core - - * @author Curverider Ltd - - * @link http://elgg.org/ - * - * @uses $vars['value'] A UNIX epoch timestamp - * - */ - - if ($vars['value'] > 86400) { - echo date("F j, Y",$vars['value']); - } -?>
\ No newline at end of file +if ($vars['value'] > 86400) { + echo date("F j, Y",$vars['value']); +}
\ No newline at end of file |