Add seconds to exports (#7955)

This commit is contained in:
Nicolas Mowen 2023-09-27 05:10:37 -06:00 committed by GitHub
parent 1aba8c1ef5
commit e26bb94007
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,9 +28,9 @@ export default function Export() {
const localISODate = localDate.toISOString().split('T')[0]; const localISODate = localDate.toISOString().split('T')[0];
const [startDate, setStartDate] = useState(localISODate); const [startDate, setStartDate] = useState(localISODate);
const [startTime, setStartTime] = useState('00:00'); const [startTime, setStartTime] = useState('00:00:00');
const [endDate, setEndDate] = useState(localISODate); const [endDate, setEndDate] = useState(localISODate);
const [endTime, setEndTime] = useState('23:59'); const [endTime, setEndTime] = useState('23:59:59');
// Export States // Export States
@ -185,6 +185,7 @@ export default function Export() {
id="startTime" id="startTime"
type="time" type="time"
value={startTime} value={startTime}
step="1"
onChange={(e) => setStartTime(e.target.value)} onChange={(e) => setStartTime(e.target.value)}
/> />
<Heading className="py-2" size="sm"> <Heading className="py-2" size="sm">
@ -202,6 +203,7 @@ export default function Export() {
id="endTime" id="endTime"
type="time" type="time"
value={endTime} value={endTime}
step="1"
onChange={(e) => setEndTime(e.target.value)} onChange={(e) => setEndTime(e.target.value)}
/> />
</div> </div>