diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-03-08 00:45:04 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-03-15 01:43:12 +0100 |
commit | 2c5ae040f791131c85834eab209c930ac0310e9a (patch) | |
tree | 9489c3fc1e356cc8d566ca825d2bcb956c5945f4 /static/components | |
parent | Move summary-filter and description-filter configs to more sensible place. (diff) | |
download | calp-2c5ae040f791131c85834eab209c930ac0310e9a.tar.gz calp-2c5ae040f791131c85834eab209c930ac0310e9a.tar.xz |
Popup created events now don't take seconds.
Diffstat (limited to 'static/components')
-rw-r--r-- | static/components/date-time-input.ts | 2 |
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; |