Remove zulu time specification

pull/20/head
Bailey Pumfleet 2021-04-14 22:17:19 +01:00
parent 06822b0071
commit f4dce81e5f
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ export default function Type(props) {
// Display available times
const availableTimes = times.map((time) =>
<div key={time}>
<Link href={"/" + props.user.username + "/book?date=" + selectedDate + "T" + dayjs(time).format("HH:mm:ss") + "Z&type=" + props.eventType.id}>
<Link href={"/" + props.user.username + "/book?date=" + selectedDate + "T" + dayjs(time).format("HH:mm:ss") + "&type=" + props.eventType.id}>
<a key={time} className="block font-medium mb-4 text-blue-600 border border-blue-600 rounded hover:text-white hover:bg-blue-600 py-4">{dayjs(time).format("hh:mma")}</a>
</Link>
</div>