This commit is contained in:
Anang Yusman 2025-10-21 13:32:16 +08:00
parent 14bef577b5
commit e7eb13b120
2 changed files with 2 additions and 2 deletions

View File

@ -854,7 +854,7 @@ export default function CreateArticleForm() {
variant="outline" variant="outline"
> >
{startDateValue {startDateValue
? startDateValue.toISOString().split("T")[0] ? startDateValue.toLocaleDateString("en-CA")
: "-"} : "-"}
</Button> </Button>
</PopoverTrigger> </PopoverTrigger>

View File

@ -1070,7 +1070,7 @@ export default function EditArticleForm(props: { isDetail: boolean }) {
variant="outline" variant="outline"
> >
{startDateValue {startDateValue
? startDateValue.toISOString().split("T")[0] ? startDateValue.toLocaleDateString("en-CA")
: "-"} : "-"}
</Button> </Button>
</PopoverTrigger> </PopoverTrigger>