AI 接入 V0.1
This commit is contained in:
@@ -191,10 +191,3 @@ class NoteLocation {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// 后端给的是 `yyyy-MM-dd HH:mm:ss`,这里裁成 `yyyy-MM-dd HH:mm`
|
||||
/// 列表里显示到秒没有意义,还会把卡片撑宽。
|
||||
String formatDateTime(Object? value) {
|
||||
final text = asString(value);
|
||||
return text.length >= 16 ? text.substring(0, 16) : text;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user