Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1346 from infograf768/patch-2

Update staging
  • Loading branch information...
commit ec5b559bccfd07dddea54164060d18709a6e329e 2 parents 1edfe4d + fea5e31
@realityking realityking authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  libraries/joomla/html/html.php
View
2  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') . '" />';
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.