Set default date to today in input frame
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user