Update base

This commit is contained in:
2026-04-27 01:52:45 +02:00
parent b646107eb7
commit cdaf469a6d
31 changed files with 3766 additions and 418 deletions

View File

@@ -139,6 +139,7 @@ export default (router, tpl) => {
timeago: lib.timeAgo(userData.created_at),
timefull: userData.created_at
};
userData.age_days = Math.floor((Date.now() - new Date(userData.created_at).getTime()) / 86400000);
if (userData.banned) {
if (!userData.ban_expires) {