You are not logged in.
Pages: 1
Hi gotard,
I see your problem.
The only way the system will accept the expiration date (and get it correct) is if you enter it as DD/MM/YYYY.
Admittedly the fact that when you return to the user edit page it outputs it as YYYY-MM-DD is a problem. (As the next time you hit 'save' it will use this new value and get it wrong)
If you feel like editing the code that powers eyeControl, the simplest fix is simply:
Go to [EYEROOT]/apps/eyeControl/events/edituser.eyecode
Replace lines 38-39
$date = /* utf8 */ explode('/', $GLOBALS['eyeControl_edituser_textbox_expire']->text);
$exp = mktime(0,0,0,$date[1],$date[0],$date[2]);
with
$exp = strtotime($GLOBALS['eyeControl_edituser_textbox_expire']->text);
After this, you will be able to enter the date as YYYY-MM-DD.
Edit: Didn't finish the path to the file to edit. Sorry.
Last edited by s0600204 (2012-08-03 18:22:39)
Offline
Pages: 1