@@ -1114,7 +1114,7 @@ def process_result(self, result: IPReport):
11141114 5000 ,
11151115 )
11161116 miner_data = self .asic .get_miner_data ()
1117- miner_data ["recv_at" ] = result .updated_at
1117+ miner_data ["recv_at" ] = int ( result .updated_at )
11181118 miner_data ["ip" ] = result .src_ip
11191119 miner_data ["mac" ] = miner_data ["mac" ].lower ()
11201120 # update serial if IPReport has
@@ -1138,10 +1138,12 @@ def show_confirmation(self, result: dict[str, Any]):
11381138 ip : str = result ["ip" ]
11391139 mac : str = result ["mac" ]
11401140 type : str = result ["type" ]
1141+ recv_at : int = result ["recv_at" ]
11411142 fw_type : str = result ["firmware" ]
11421143 type_str = type .capitalize ()
11431144 if type != "unknown" :
11441145 type_str = f"{ type .capitalize ()} ({ fw_type } )"
1146+ recv_timestamp = QDateTime .fromSecsSinceEpoch (recv_at ).toString ()
11451147 if self .menu_bar .actionAlwaysOpenIPInBrowser .isChecked ():
11461148 self .open_dashboard (ip )
11471149 if self .menu_bar .actionEnableIDTable .isChecked () and self .isVisible ():
@@ -1155,6 +1157,7 @@ def show_confirmation(self, result: dict[str, Any]):
11551157 )
11561158
11571159 logger .info ("show_confirmation : show IPRConfirmation." )
1160+ confirm .lineRecvAtField .setText (recv_timestamp )
11581161 confirm .lineIPField .setText (ip )
11591162 confirm .lineMACField .setText (mac )
11601163 confirm .lineASICField .setText (type_str )
0 commit comments