mirror of
https://github.com/e107inc/e107.git
synced 2025-08-10 16:46:50 +02:00
@@ -141,6 +141,7 @@ class e_date
|
||||
function convert_date($datestamp, $mask = '')
|
||||
{
|
||||
$datestamp = (int) $datestamp;
|
||||
if($datestamp == 0) return "";
|
||||
|
||||
if(empty($mask))
|
||||
{
|
||||
@@ -596,6 +597,7 @@ class e_date
|
||||
function computeLapse($older_date, $newer_date = FALSE, $mode = FALSE, $show_secs = TRUE, $format = 'long')
|
||||
{
|
||||
$older_date = (int) $older_date;
|
||||
if($older_date == 0) return "";
|
||||
|
||||
if(empty($newer_date))
|
||||
{
|
||||
|
Reference in New Issue
Block a user