Skip to content

Node.js based forum software built for the modern web

test: add back timestamp

Barış Soner Uşaklıc73f759cf1be
diff --git a/src/user/info.js b/src/user/info.js
index a013f746ff..3fd1f725bb 100644
--- a/src/user/info.js
+++ b/src/user/info.js
@@ -75,6 +75,7 @@ module.exports = function (User) {
flags.forEach((flag, idx) => {
if (flag) {
+ flag.timestamp = flag.datetime;
flag.timestampISO = new Date(flag.datetime).toISOString();
flag.reports = reports[idx];
}