1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 06:38:00 +02:00

Fix for datepicker. Issue #1687

This commit is contained in:
Lóna Lore
2016-06-08 23:58:54 +02:00
parent 0c29ac2708
commit f470b554ac

View File

@@ -997,17 +997,8 @@ class e_form
$datestamp = strtotime($datestamp);
}
// Create timestamp.
if($useUnix == 'true')
{
// Use date value as timestamp.
$value = $datestamp;
}
else
{
// Convert date to proper (selected) format.
$value = e107::getDate()->convert_date($datestamp, $dateFormat);
}
// Convert date to proper (selected) format.
$value = e107::getDate()->convert_date($datestamp, $dformat);
}