chore: use input type `datetime-local` instead of `text` (#5174)

This commit is contained in:
Simon 2025-10-22 02:04:37 +01:00 committed by GitHub
parent 2d4361d5fe
commit 290cdf5d4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ interface Props {
const DateTimeInput: React.FC<Props> = ({ value, onChange }) => {
return (
<input
type="text"
type="datetime-local"
className={cn("px-1 bg-transparent rounded text-xs transition-all", "border-transparent outline-none focus:border-border", "border")}
defaultValue={formatDate(value)}
onBlur={(e) => {