mirror of
https://github.com/wownero/cyberwow.git
synced 2026-12-03 13:43:59 +01:00
use uptime
This commit is contained in:
@@ -193,7 +193,7 @@ Map<String, dynamic> getInfoView(Map<String, dynamic> x) {
|
||||
final _diff = DateTime.now().difference(_receive_time);
|
||||
|
||||
format(Duration d) => d.toString().split('.').first.padLeft(8, "0");
|
||||
return MapEntry('age', format(_diff));
|
||||
return MapEntry('uptime', format(_diff));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user