aboutsummaryrefslogtreecommitdiff
path: root/static/components/date-time-input.ts
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-11-30 01:09:53 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-11-30 01:09:53 +0100
commite71f0c20adc4dc2f49bca99a859241fdadf376d3 (patch)
tree3231d1e491fcd1ed9dc0ab31cac4fdedb733807d /static/components/date-time-input.ts
parentChange UID resolve. (diff)
downloadcalp-e71f0c20adc4dc2f49bca99a859241fdadf376d3.tar.gz
calp-e71f0c20adc4dc2f49bca99a859241fdadf376d3.tar.xz
Rework tab system.
This sepparates popup-elements from their tabbed contents, allowing clearer sepparations of concerns, along with easier adding and removing of tabs to the tabset!
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 27dad095..d42c5523 100644
--- a/static/components/date-time-input.ts
+++ b/static/components/date-time-input.ts
@@ -61,7 +61,7 @@ class DateTimeInput extends /* HTMLInputElement */ HTMLElement {
set value(date: Date) {
let [d, t] = date.format("~L~Y-~m-~dT~H:~M:~S").split('T');
- console.log(d, t);
+ // console.log(d, t);
(this.querySelector("input[type='date']") as HTMLInputElement).value = d;
(this.querySelector("input[type='time']") as HTMLInputElement).value = t;