diff --git a/App.py b/App.py index 7bfb140..857358a 100644 --- a/App.py +++ b/App.py @@ -471,7 +471,7 @@ def api_metrics(): @app.route("/blocks") def blocks_page(): """Serve the blocks overview page.""" - current_time = datetime.now(ZoneInfo("America/Los_Angeles")).strftime("%Y-%m-%d %H:%M:%S %p") + current_time = datetime.now(ZoneInfo("America/Los_Angeles")).strftime("%b %d, %Y, %I:%M:%S %p") return render_template("blocks.html", current_time=current_time) # --- Workers Dashboard Route and API --- @@ -781,7 +781,7 @@ def api_clear_notifications(): @app.route("/notifications") def notifications_page(): """Serve the notifications page.""" - current_time = datetime.now(ZoneInfo("America/Los_Angeles")).strftime("%Y-%m-%d %H:%M:%S %p") + current_time = datetime.now(ZoneInfo("America/Los_Angeles")).strftime("%b %d, %Y, %I:%M:%S %p") return render_template("notifications.html", current_time=current_time) @app.errorhandler(404)