1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 01:54:12 +02:00

Should fix part of the datepicker issue #133

This commit is contained in:
Cameron
2013-03-16 18:35:20 -07:00
parent 4f6b639ee9
commit 1830401b08
7 changed files with 371 additions and 1935 deletions

View File

@@ -110,13 +110,13 @@ class convert
function toMask($mask, $legacy = false)
{
$convert = array(
'%Y' => 'yy', // jquery-ui docs say 'yy' but yy produces '13' instead of '2013'
'%Y' => 'yyyy', // jquery-ui docs say 'yy' but yy produces '13' instead of '2013'
'%d' => 'dd',
'%m' => 'mm',
'%B' => 'MM', // Full month name, based on the locale
'%A' => 'DD', // A full textual representation of the day
'%y' => 'y',
'%y' => 'yy',
'%a' => 'D', // An abbreviated textual representation of the day
'%b' => 'M', // Abbreviated month name, based on the locale
'%h' => 'M', // Abbreviated month name, based on the locale (an alias of %b)