This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 54a6bdd16717a480f558f2d069825e04989b3117 Author: Kevin Morin <morin@codelutin.com> Date: Tue Aug 3 13:38:42 2021 +0200 fix linter --- .../src/main/web/tag/components/time-picker.tag.html | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/tag/components/time-picker.tag.html b/pollen-ui-riot-js/src/main/web/tag/components/time-picker.tag.html index 60b27203..0dc10034 100644 --- a/pollen-ui-riot-js/src/main/web/tag/components/time-picker.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/components/time-picker.tag.html @@ -57,16 +57,12 @@ this.session = session; this.moment = moment; - console.log("init", this.session.locale) this.moment.locale(this.session.locale); - console.log("locale", this.moment.locale()) this.installBundle(this.session, "time-picker", locale => { - console.log("installBundle", locale, this.opts.time.time) if (this.opts.time.time) { this.opts.time.time.locale(locale); } - console.log("installBundle2", locale, this.opts.time.time) this.moment.locale(locale); }); @@ -112,7 +108,6 @@ this.minuteChanged = () => { this.initTime(); let minute = parseInt(this.refs.minuteInput.value, 10); - console.log("minuteChanged", minute); if (!isNaN(minute)) { this.opts.time.time.minutes(minute); if (this.opts.onchange) { @@ -122,10 +117,8 @@ }; this.onTimeChange = e => { - console.log('onTimeChange', e.currentTarget.value, this.opts.onchange); if (e.currentTarget.value) { - var time = this.moment(e.currentTarget.value, "h:mm"); - console.log(time,time.hours(), time.minutes()) + var time = this.moment(e.currentTarget.value, "HH:mm"); this.initTime(); this.opts.time.time.set({hour: time.hours(), minute: time.minutes()}); } @@ -135,7 +128,6 @@ }; this.initTime = () => { - console.log("initTime", this.opts.time.time) if (!this.opts.time.time) { this.opts.time.time = this.moment(); } -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.