MDL_41126 phpunit: Timestamp should be less than 2038
authorRajesh Taneja <rajesh@moodle.com>
Tue, 9 Aug 2016 02:42:28 +0000 (10:42 +0800)
committerRajesh Taneja <rajesh@moodle.com>
Tue, 9 Aug 2016 02:50:07 +0000 (10:50 +0800)
commit9f2b916dee11dc2c092bcdfd9d8b578a53b39b17
treea588fde794dd92b1f7d4b1590a64a30470b2473a
parent763c5b0eb40d35a29d4e32a0506bcf05ec134326
MDL_41126 phpunit: Timestamp should be less than 2038

http://php.net/manual/en/datetime.gettimestamp.php#114590
In 32-bit system the unix timestamp will overflow if the date goes beyond year 2038
and this method will return false.
lib/moodlelib.php
mod/data/tests/generator/lib.php
mod/data/tests/generator_test.php