mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-04-27 03:15:19 +00:00
4a37b9179a
- Introduced a new `_utc_now` function in `maintenance.py` to standardize UTC time retrieval, replacing deprecated `utcnow()` calls. - Updated all instances of `datetime.utcnow()` in `maintenance.py` to use the new `_utc_now` function for consistency. - Modified `app.py` in the web viewer to use `datetime.now(timezone.utc)` instead of `datetime.utcnow()`, ensuring timezone awareness. - Enhanced MQTT test suite with new v2 callback methods for improved connection handling and error reporting.