aboutsummaryrefslogtreecommitdiff
path: root/views/default/output/date.php
blob: bd8a65714dfed96f5f8636f96635e995b988a86c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
/**
 * Date
 * Displays a properly formatted date
 *
 * @package Elgg
 * @subpackage Core
 *
 * @uses $vars['value'] A UNIX epoch timestamp
 *
 */

if ($vars['value'] > 86400) {
	echo date("F j, Y",$vars['value']);
}