This commit is contained in:
Anang Yusman 2025-10-21 13:25:19 +08:00
parent ee79c9243b
commit 2110657154
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>