mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: 支持系统消息查看,美化界面,点击清除未读提示,支持未读刷新
修复私信页点击视频后反复提示已读成功的问题
This commit is contained in:
@@ -170,13 +170,13 @@ class Utils {
|
||||
.replaceAll('hh', hh)
|
||||
.replaceAll('mm', mm)
|
||||
.replaceAll('ss', ss);
|
||||
if (int.parse(YY) == DateTime.now().year &&
|
||||
int.parse(MM) == DateTime.now().month) {
|
||||
// 当天
|
||||
if (int.parse(DD) == DateTime.now().day) {
|
||||
return '今天';
|
||||
}
|
||||
}
|
||||
// if (int.parse(YY) == DateTime.now().year &&
|
||||
// int.parse(MM) == DateTime.now().month) {
|
||||
// // 当天
|
||||
// if (int.parse(DD) == DateTime.now().day) {
|
||||
// return '今天';
|
||||
// }
|
||||
// }
|
||||
return date;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user