Friday 19 October 2007 4:55:48 am
For one of our projects we have created a form which includes the "date" attribute in order to verify the date of birth of the user. However, we have realised that the "date" attribute is limited from the year 1970 and later. We need to introduce a new user who is born before that date (1964) but it reports an error "invalid date" and it doesn't save the info introduced in the form. Manually we have changed the kernel of ez. first we have found the files which were controlling the "date" attribute (the following ones)...
kernel/classes/datatypes/ezdatetime/ezdatetimetype.php
kernel/classes/datatypes/ezdate/ezdatetype.php lib/ezutils/classes/ezdatetimevalidator.php Then we have changed the 1970 into an earlier date (1950). The question is if this change will be affecting to the normal performance of eZ.
|