diff --git a/docker/routlin-dash/app/view_page.py b/docker/routlin-dash/app/view_page.py index af20097..10a994a 100644 --- a/docker/routlin-dash/app/view_page.py +++ b/docker/routlin-dash/app/view_page.py @@ -430,7 +430,7 @@ def _blocklist_stats_html(core): entries = sum(1 for _ in f) mtime = int(os.path.getmtime(bl_path)) size_str = _fmt_bytes(os.path.getsize(bl_path)) - last_refreshed = f'{_fmt_timestamp(mtime)} ({_relative_time(mtime)})' + last_refreshed = f'{datetime.fromtimestamp(mtime).strftime("%Y-%m-%d %H:%M")} ({_relative_time(mtime)})' except Exception: entries, size_str, last_refreshed = '-', '-', 'Never' rows += (f'