aboutsummaryrefslogtreecommitdiff
path: root/static/components/date-time-input.ts
diff options
context:
space:
mode:
Diffstat (limited to 'static/components/date-time-input.ts')
-rw-r--r--static/components/date-time-input.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/components/date-time-input.ts b/static/components/date-time-input.ts
index a6d5df18..005e4190 100644
--- a/static/components/date-time-input.ts
+++ b/static/components/date-time-input.ts
@@ -67,7 +67,7 @@ class DateTimeInput extends /* HTMLInputElement */ HTMLElement {
}
set value(date: Date) {
- let [d, t] = date.format("~L~Y-~m-~dT~H:~M:~S").split('T');
+ let [d, t] = date.format("~L~Y-~m-~dT~H:~M").split('T');
// console.log(d, t);
this.date.value = d;
this.time.value = t;