aboutsummaryrefslogtreecommitdiff
path: root/views/default/output/date.php
blob: 6973a6c92f7436a4eeb22ad2bcb18bb964b8ef14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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
	 * 
	 */

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