Permalink
Browse files

Apply Timezone on Export (when Prepare Output = Yes) [JForm Calendar …

…plug-in]
  • Loading branch information...
sebastienheraud committed Dec 4, 2018
1 parent 927e24e commit 79661e868e3d9dab3c30473fc0d4b62b2f84663a
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/cck_field/jform_calendar/jform_calendar.php
@@ -78,7 +78,7 @@ public function onCCK_FieldPrepareExport( &$field, $value = '', &$config = array
}
if ( (int)$value > 0 ) {
$field->output = $value;
$field->output = JHtml::_( 'date', $value, 'Y-m-d H:i:s' );
} else {
$field->output = '';
}

0 comments on commit 79661e8

Please sign in to comment.