How to change source code to up end year (2020 to 2030?

Re: How to change source code to up end year (2020 to 2030?

av Fai Wong -
Galle vástádusa: 0

I am using 2.2.3.

In /moodle/lib/form/

update dateselector.php and datetimeselector.php

var $_options = array('startyear' => 1970, 'stopyear' => 2030, 'defaulttime' => 0,
'timezone' => 99, 'applydst' => true, 'step' => 5, 'optional' => false);