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 os
import logging import logging
import sys import sys
@@ -122,6 +123,9 @@ class UIManager:
row=6, column=1, sticky="ew", padx=5, pady=2 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 all UI elements and variables
return { return {
"frame": input_frame, "frame": input_frame,