aboutsummaryrefslogtreecommitdiff
path: root/plugins/caldav/public/update-event.html
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/caldav/public/update-event.html')
-rw-r--r--plugins/caldav/public/update-event.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/plugins/caldav/public/update-event.html b/plugins/caldav/public/update-event.html
index 0decb5a..ae091bd 100644
--- a/plugins/caldav/public/update-event.html
+++ b/plugins/caldav/public/update-event.html
@@ -15,13 +15,14 @@
<input type="text" name="summary" id="summary" value="{{.Event.Props.Text "SUMMARY"}}">
<br>
- <!-- TODO: inputs with time -->
- <label for="start">Start date:</label>
- <input type="date" name="start" id="start" value="{{.Event.DateTimeStart nil | ornow | formatinputdate}}"/>
+ <label for="start-date">Start date:</label>
+ <input type="date" name="start-date" id="start-date" value="{{.Event.DateTimeStart nil | formatinputdate}}"/>
+ <input type="time" name="start-time" id="start-time" value="{{.Event.DateTimeStart nil | formatinputtime}}"/>
<br>
- <label for="end">End date:</label>
- <input type="date" name="end" id="end" value="{{.Event.DateTimeEnd nil | ornow | formatinputdate}}"/>
+ <label for="end-date">End date:</label>
+ <input type="date" name="end-date" id="end-date" value="{{.Event.DateTimeEnd nil | formatinputdate}}"/>
+ <input type="time" name="end-time" id="end-time" value="{{.Event.DateTimeEnd nil | formatinputtime}}"/>
<br>
<label for="description">Description:</label><br>