mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
Merge branch 'MDL-44608-master-fix1' of http://github.com/damyon/moodle
This commit is contained in:
commit
89381287ce
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class scheduled_task_testcase extends advanced_testcase {
|
||||||
// Should be displayed in user timezone.
|
// Should be displayed in user timezone.
|
||||||
// I used http://www.timeanddate.com/worldclock/fixedtime.html?msg=Moodle+Test&iso=20140314T01&p1=58
|
// I used http://www.timeanddate.com/worldclock/fixedtime.html?msg=Moodle+Test&iso=20140314T01&p1=58
|
||||||
// to verify this time.
|
// to verify this time.
|
||||||
$this->assertContains('11:15 AM', $userdate);
|
$this->assertContains('11:15 AM', core_text::strtoupper($userdate));
|
||||||
|
|
||||||
$CFG->timezone = $currenttimezonecfg;
|
$CFG->timezone = $currenttimezonecfg;
|
||||||
date_default_timezone_set($currenttimezonephp);
|
date_default_timezone_set($currenttimezonephp);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue