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

Issue #1222, Issue #1157, Issue #1455 datepicker() method now returns unix timestamp by default. To return a string (like previously) use 'return=string' in the options.

This commit is contained in:
Cameron
2016-05-13 09:09:31 -07:00
parent cb938e1442
commit 1fa7c95b25
2 changed files with 45 additions and 5 deletions

View File

@@ -920,7 +920,7 @@ class e107_user_extended
$curval = '';
}
return e107::getForm()->datepicker($fname,$curval,'format=yyyy-mm-dd');
return e107::getForm()->datepicker($fname,$curval,array('format'=>'yyyy-mm-dd','return'=>'string'));
break;
case EUF_LANGUAGE : // language