fix(showTime): show time in datePicker

This commit is contained in:
2026-06-30 11:57:49 +07:00
parent 51e2fa46bf
commit 276a75f13f

View File

@@ -499,6 +499,8 @@ const DetailDevice = (props) => {
current &&
current.isAfter(dayjs(formData.end_date), 'day')
}
format="DD-MM-YYYY HH:mm"
showTime={{ format: 'HH:mm' }}
style={{ flex: 1 }}
/>
@@ -513,6 +515,8 @@ const DetailDevice = (props) => {
current &&
current.isBefore(dayjs(formData.start_date), 'day')
}
format="DD-MM-YYYY HH:mm"
showTime={{ format: 'HH:mm' }}
style={{ flex: 1 }}
/>
</div>