mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 08:38:18 +08:00
mod: 日志显示精确时间
This commit is contained in:
@@ -52,10 +52,10 @@ class _LogsPageState extends State<LogsPage> {
|
||||
if (l.startsWith("Crash occurred on")) {
|
||||
try {
|
||||
date = DateTime.parse(
|
||||
l.split("Crash occurred on")[1].trim().split('.')[0],
|
||||
l.split("Crash occurred on")[1].trim(),//.split('.')[0],
|
||||
);
|
||||
} catch (e) {
|
||||
print(e.toString());
|
||||
debugPrint(e.toString());
|
||||
date = l.toString();
|
||||
}
|
||||
return "";
|
||||
|
||||
Reference in New Issue
Block a user