mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Issue #133 - tested the date conversion outside of news etc. And is all working properly. Issue must be elsewhere.
This commit is contained in:
@@ -110,7 +110,7 @@ class convert
|
|||||||
function toMask($mask, $legacy = false)
|
function toMask($mask, $legacy = false)
|
||||||
{
|
{
|
||||||
$convert = array(
|
$convert = array(
|
||||||
'%Y' => 'yyyy', // jquery-ui docs say 'yy' but yy produces '13' instead of '2013'
|
'%Y' => 'yy', // jquery-ui docs say 'yy' but yy produces '13' instead of '2013'
|
||||||
'%d' => 'dd',
|
'%d' => 'dd',
|
||||||
'%m' => 'mm',
|
'%m' => 'mm',
|
||||||
'%B' => 'MM', // Full month name, based on the locale
|
'%B' => 'MM', // Full month name, based on the locale
|
||||||
|
Reference in New Issue
Block a user