mod: msg top: show time

Closes #387

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-05 17:39:04 +08:00
parent 72dd0b9e81
commit 08b0a93064
5 changed files with 92 additions and 68 deletions

View File

@@ -1207,7 +1207,7 @@ class Utils {
// 时间显示刚刚x分钟前
static String dateFormat(timeStamp, {formatType = 'list'}) {
if (timeStamp == 0 || timeStamp == null || timeStamp == '') {
if (timeStamp == null || timeStamp == 0 || timeStamp == '') {
return '';
}
// 当前时间