date -> datetime

This commit is contained in:
VividTruthKeeper 2022-09-23 16:40:18 +05:00
parent c1014093b0
commit a86996f451
2 changed files with 4 additions and 4 deletions

View File

@ -93,7 +93,7 @@ select {
}
}
input[type="date"]::-webkit-calendar-picker-indicator {
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
color: rgba(0, 0, 0, 0);
opacity: 1;
display: block;

View File

@ -390,7 +390,7 @@ const Posts = () => {
<input
placeholder="Filter by published"
id="filter-published"
type="date"
type="datetime-local"
value={filters.fil_publish_date.value}
onChange={(e: React.ChangeEvent<HTMLInputElement>) =>
setFilters({
@ -407,7 +407,7 @@ const Posts = () => {
<input
placeholder="Filter by created"
id="filter-created"
type="date"
type="datetime-local"
value={filters.fil_createdAt.value}
onChange={(e: React.ChangeEvent<HTMLInputElement>) =>
setFilters({
@ -424,7 +424,7 @@ const Posts = () => {
<input
placeholder="Filter by updated"
id="filter-updated"
type="date"
type="datetime-local"
value={filters.fil_updatedAt.value}
onChange={(e: React.ChangeEvent<HTMLInputElement>) =>
setFilters({