No luck on double submit, but I managed to
- fill in the start time so it doesn't dissapear
- introduce a bug because the start time that's filled in gets converted to local time from local…
Did a Full Clean/Build Filesystem Image/Upload Filesystem Image/Upload and Monitor.
The empty start time/broken JS seems to be fixed by b97f48858d7e1ac706e74d34a70b301af7a839cb.
Wow did I ever get messed up there.
If the start date isn't set, a value isn't added to the JS, so it just sees s = ;
and breaks everything else in the script. Which means you can't put in a…
Way overthinking this. Time is coming from browser in the first place. If I want to print it, print it from the browser, don't pull it from the controller.
Trying this
from apscheduler.schedulers.blocking import BlockingScheduler
...
ki.start()
scheduler = BlockingScheduler()
scheduler.add_job(refresh_kiss_connection,…
Haven't seen a packet in this system in four days, but there should have been a bunch yesterday.
Trying to think of how to keep the connection alive without cron or some other timer. I would do…
All back on local time now. The current time is saved with an epoch shift according to the timezone offset in JS. The start program time is local by default from the HTML form. Both are stored as…
I can get the submitted unix time copied into a file/variable, but it might be local time rather than UTC?
HTML field is datetime-local, which needs to be labeled as UTC.
https://www.w3schools.com/tags/att_input_type_datetime-local.asp
Comes out as 2023-09-02T05:34
format.