Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

Commit

Permalink
Merge pull request #1346 from infograf768/patch-2
Browse files Browse the repository at this point in the history
Update staging
  • Loading branch information
realityking committed Jul 11, 2012
2 parents 1edfe4d + fea5e31 commit ec5b559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/joomla/html/html.php
Original file line number Diff line number Diff line change
Expand Up @@ -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') . '" />';
}
}
Expand Down

0 comments on commit ec5b559

Please sign in to comment.