MDL-68200 core: Fix datetime format
commit1ba5f0f4107e655e4bc5039a21aefef798570d66
authorShamim Rezaie <shamim@moodle.com>
Mon, 13 Apr 2020 21:00:14 +0000 (14 07:00 +1000)
committerShamim Rezaie <shamim@moodle.com>
Tue, 12 May 2020 05:13:01 +0000 (12 15:13 +1000)
tree32184dbc771c419a20e65538a4db6cba8e649e5e
parent31d401aaa021f3a920be24955478a4c706cf2f8d
MDL-68200 core: Fix datetime format

date.toISOString() prints out the seconds as well.
Current code supports most valid values for the datetime attribute
lib/templates/time_element.mustache