mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Add seconds to exports (#7955)
This commit is contained in:
parent
1aba8c1ef5
commit
e26bb94007
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user