rusticluftig commited on
Commit
a806654
·
1 Parent(s): 9a98f07

Fix datetime

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -226,7 +226,7 @@ def get_next_update_div(current_block: int, next_update_block: int) -> str:
226
  return f"""<div align="center" style="font-size: larger;">Next reward update: <b>{blocks_to_go}</b> blocks (~{int(delta.total_seconds() // 60)} minutes)</div>"""
227
 
228
  def get_last_updated_div() -> str:
229
- return f"""<div>Last Updated: f{datetime.datetime.utc().strftime("%Y-%m-%d %H:%M:%S")} (UTC)</div>"""
230
 
231
  def leaderboard_data(
232
  leaderboard: List[ModelData],
 
226
  return f"""<div align="center" style="font-size: larger;">Next reward update: <b>{blocks_to_go}</b> blocks (~{int(delta.total_seconds() // 60)} minutes)</div>"""
227
 
228
  def get_last_updated_div() -> str:
229
+ return f"""<div>Last Updated: f{datetime.datetime.utcnow().strftime("%Y-%m-%d %H:%M:%S")} (UTC)</div>"""
230
 
231
  def leaderboard_data(
232
  leaderboard: List[ModelData],