Set default date to today in input frame

This commit is contained in:
William Valentin
2025-07-26 12:07:13 -07:00
parent 3d5b3afbbb
commit 15be1733ea

View File

@@ -1,3 +1,4 @@
from datetime import datetime
import os
import logging
import sys
@@ -122,6 +123,9 @@ class UIManager:
row=6, column=1, sticky="ew", padx=5, pady=2
)
# Set default date to today
date_var.set(datetime.now().strftime("%m/%d/%Y"))
# Return all UI elements and variables
return {
"frame": input_frame,