mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-07-30 06:46:59 -04:00
When the datetime picker closed with an empty or malformed value, DateTime.fromFormat returned an Invalid DateTime and .valueOf() gave NaN. That NaN propagated through minTimeSecs/rangeTimeSecs into drawSliderOnGraph, where parseInt(NaN) yielded a NaN sliderX and getImageData rejected it with "Value is not of type 'long'". Return early from changeFilters when either parsed DateTime is invalid so the NaN never reaches the canvas. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Modern ZoneMinder Skin
This web frontend to ZoneMinder is a complete rewrite of the classic frontend, based on CakePHP.