We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36e209b commit 7480cf6Copy full SHA for 7480cf6
classes/demo_table.php
@@ -35,6 +35,16 @@
35
*/
36
class demo_table extends wunderbyte_table {
37
38
+ /**
39
+ * Decodes the Unix Timestamp
40
+ *
41
+ * @param stdClass $values
42
+ * @return void
43
+ */
44
+ public function col_timemodified($values) {
45
+ return userdate($values->timemodified, get_string('strftimedatetimeshort'));
46
+ }
47
+
48
/**
49
* Decodes the Unix Timestamp
50
*
classes/output/demo.php
@@ -90,6 +90,7 @@ private function render_table_1() {
90
'email' => get_string('email'),
91
'action' => get_string('action'),
92
'department' => get_string('department'),
93
+ 'timemodified' => get_string('modified'),
94
95
];
96
0 commit comments