MDL-73047 reportbuilder: add 'timecreated' to user reports

This commit is contained in:
Davo Smith 2021-11-10 15:44:52 +00:00
parent 1a744030d6
commit 55f08ad6eb

View file

@ -335,6 +335,7 @@ class user extends base {
'confirmed' => new lang_string('confirmed', 'admin'),
'username' => new lang_string('username'),
'moodlenetprofile' => new lang_string('moodlenetprofile', 'user'),
'timecreated' => new lang_string('timecreated', 'core_reportbuilder'),
];
}
@ -351,6 +352,7 @@ class user extends base {
$fieldtype = column::TYPE_BOOLEAN;
break;
case 'lastaccess':
case 'timecreated':
$fieldtype = column::TYPE_TIMESTAMP;
break;
default: