Permalink
Browse files

Merge pull request #1346 from infograf768/patch-2

Update staging
  • Loading branch information...
2 parents 1edfe4d + fea5e31 commit ec5b559bccfd07dddea54164060d18709a6e329e @realityking realityking committed Jul 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 libraries/joomla/html/html.php
@@ -879,7 +879,7 @@ public static function calendar($value, $name, $id, $format = '%Y-%m-%d', $attri
else
{
return '<input type="text" title="' . (0 !== (int) $value ? self::_('date', $value, null, null) : '')
- . '" value="' . (0 !== (int) $value ? self::_('date', $value, null, null) : '') . '" ' . $attribs
+ . '" value="' . (0 !== (int) $value ? self::_('date', $value, 'Y-m-d H:i:s', null) : '') . '" ' . $attribs
. ' /><input type="hidden" name="' . $name . '" id="' . $id . '" value="' . htmlspecialchars($value, ENT_COMPAT, 'UTF-8') . '" />';
}
}

0 comments on commit ec5b559

Please sign in to comment.