From e26bb94007bc15bdad9d7bbf6f6310f473e9b805 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 27 Sep 2023 05:10:37 -0600 Subject: [PATCH] Add seconds to exports (#7955) --- web/src/routes/Export.jsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/src/routes/Export.jsx b/web/src/routes/Export.jsx index d942e6a32..6a29f9ff9 100644 --- a/web/src/routes/Export.jsx +++ b/web/src/routes/Export.jsx @@ -28,9 +28,9 @@ export default function Export() { const localISODate = localDate.toISOString().split('T')[0]; const [startDate, setStartDate] = useState(localISODate); - const [startTime, setStartTime] = useState('00:00'); + const [startTime, setStartTime] = useState('00:00:00'); const [endDate, setEndDate] = useState(localISODate); - const [endTime, setEndTime] = useState('23:59'); + const [endTime, setEndTime] = useState('23:59:59'); // Export States @@ -185,6 +185,7 @@ export default function Export() { id="startTime" type="time" value={startTime} + step="1" onChange={(e) => setStartTime(e.target.value)} /> @@ -202,6 +203,7 @@ export default function Export() { id="endTime" type="time" value={endTime} + step="1" onChange={(e) => setEndTime(e.target.value)} />