CLOCK_HOURS_SET/CLOCK_MINUTES_SET broken in V1.1.9.0

Version: *1.1.9.0

Frequency: Once/Rarely/Frequently/Consistently

Consistently

Severity: Low/High/Blocker

High

Bug description:

Prior to V1.1.9.0 you could set CLOCK_HOURS_SET and CLOCK _MINUTES_SET programatically ok. V1.1.9.0 seems to have introduced a regression where while you can still set the hours/minutes it immediately is overridden by the time slider setting on the weather widget. Previously this didn’t happen, you could set the time just fine, and weather widget time would pick it up. Now it seems the weather widget will auto override whatever you try to set.
Miscellaneous Events

There are good UX reasons why you might want to provide the user with a convenient time control independent of the weather widget. It’s a great tool, but not having to spend the extra time and process to pull it up when they can just immedately adjust it in front of them is a time and efficiency issue.

Repro steps:

Try changing the time with a simple time slider independently of the weather widger:

    //Time Slider    
    var timeSliderElt = document.querySelector("#lm-time-slider");
    var timeValueHourElt = document.querySelector("#lm-timeHourValue");
    var timeValueMinElt = document.querySelector("#lm-timeMinValue");
    if (timeSliderElt) {

      timeSliderElt.oninput = () => {
        // console.log("LM timeSliderElt oninput " + + timeSliderElt.value);
        this.time = timeSliderElt.value;
        this.hours = Math.floor(this.time / 60);
        this.minutes = this.time % 60;
        timeValueHourElt.innerHTML = this.hours;
        timeValueMinElt.innerHTML = this.minutes;
        // this.newTime = this.fontsize.toString() + "px";
        console.log("LM timeSliderElt oninput this.hours: " + this.hours + " this.minutes: " + this.minutes);
        SimVar.SetSimVarValue("K:CLOCK_HOURS_SET", "hour", Number(this.hours));
        SimVar.SetSimVarValue("K:CLOCK_MINUTES_SET", "hour", Number(this.minutes));
      };
    }

Attachments:

Private attachments: Send a PM to @PrivateContent with the link to this topic and the link to download your content