1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 21:57:51 +02:00

Added missing 'd' (day of the month - no leading zero) mask to date handler.

This commit is contained in:
Cameron
2018-03-04 16:41:35 -08:00
parent c377050945
commit 6490b6d315

View File

@@ -235,6 +235,7 @@ class convert
$convert = array( $convert = array(
'%Y' => 'yyyy', // 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', '%d' => 'dd',
'%e' => 'd',
'%m' => 'mm', '%m' => 'mm',
'%B' => 'MM', // Full month name, based on the locale '%B' => 'MM', // Full month name, based on the locale
'%A' => 'DD', // A full textual representation of the day '%A' => 'DD', // A full textual representation of the day