Replies: 1 comment
-
i try that class PaymentForm(Form):
payment_date = DateTimeField(
default=datetime.combine(datetime.now(), time(23, 59))
)
class PaymentModel(DefaultModelView, model=Payment):
form = PaymentForm |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi, how can I set the default time for a date. when I select a date in the widget it defaults to 12:00:0
how can I choose mine?
Beta Was this translation helpful? Give feedback.
All reactions