Remove tz form formatted date helper

This commit is contained in:
Joseph Cohen
2015-05-07 10:37:32 -05:00
parent 4eb1bee983
commit a5526c7ca7

View File

@@ -140,9 +140,8 @@ if (!function_exists('formatted_date')) {
*/
function formatted_date($date)
{
$dateTimeZone = Setting::get('app_timezone');
$dateFormat = Setting::get('date_format') ?: 'jS F Y';
return (new Date($date))->setTimeZone($dateTimeZone)->format($dateFormat);
return (new Date($date))->format($dateFormat);
}
}