diff --git a/src/cutecoin/gui/informations_tab.py b/src/cutecoin/gui/informations_tab.py index 72ddf1d0f53a4dfee2fcce6c10b0aec28d91a0e8..462094edc9c23e89008e775f68a7d5b8f80d8403 100644 --- a/src/cutecoin/gui/informations_tab.py +++ b/src/cutecoin/gui/informations_tab.py @@ -5,6 +5,7 @@ Created on 31 janv. 2015 """ import logging +import datetime from PyQt5.QtWidgets import QWidget from ..gen_resources.informations_tab_uic import Ui_InformationsTabWidget @@ -49,6 +50,7 @@ class InformationsTabWidget(QWidget, Ui_InformationsTabWidget): <tr><td align="right"><b>{:}</b></td><td>{:}</td></tr> <tr><td align="right"><b>{:.2f}</b></td><td>{:} {:}</td></tr> <tr><td align="right"><b>{:2.2%} / {:} days</b></td><td>{:}</td></tr> + <tr><td align="right"><b>{:}</b></td><td>{:}</td></tr> </table> """.format( self.get_referential_diff_value(block['dividend']), @@ -64,7 +66,9 @@ class InformationsTabWidget(QWidget, Ui_InformationsTabWidget): self.get_referential_name(), block['dividend'] / (block['monetaryMass'] / block['membersCount']), params['dt'] / 86400, - 'Actual growth c = UD(t)/[M(t-1)/N(t)]' + 'Actual growth c = UD(t)/[M(t-1)/N(t)]', + datetime.datetime.fromtimestamp(block['medianTime'] + params['dt']).strftime("%d/%m/%Y %I:%M"), + 'Next UD date and time (t+1)' ) )