We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e397dfa commit d6cd8bcCopy full SHA for d6cd8bc
shiny/ui/_input_date.py
@@ -314,5 +314,5 @@ def _as_date_attr(x: Optional[date | str]) -> Optional[str]:
314
if len(x) == 0:
315
return x
316
x = date.fromisoformat(x)
317
- # Using strftime here to ensure we just just a date, regardless of if H:M:S are included
+ # Ensure we return a date (not datetime) string
318
return x.strftime("%Y-%m-%d")
0 commit comments