1
0
This commit is contained in:
SomberNight
2018-02-24 22:37:03 +01:00
parent f1b7578218
commit 649b5a7298
3 changed files with 4 additions and 4 deletions

View File

@@ -419,6 +419,8 @@ def format_satoshis(x, is_diff=False, num_zeros = 0, decimal_point = 8, whitespa
return result
def timestamp_to_datetime(timestamp):
if timestamp is None:
return None
return datetime.fromtimestamp(timestamp)
def format_time(timestamp):