aprs.me/lib/aprsme_web
Graham McIntire 9b147101e1
fix: Handle both atom and string keys in weather view packet comparison
The weather view was crashing with KeyError when receiving packets with
string keys instead of atom keys. This was happening when packets were
broadcast from different parts of the system.

Changes:
- Updated should_update_weather? to handle both atom and string keys
- Added proper nil checking for received_at timestamps
- Handle string timestamp comparisons as well as DateTime comparisons

This prevents crashes when the weather view receives packets with
inconsistent key types from PubSub broadcasts.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-03 15:46:12 -05:00
..
components updates with parser updates 2025-08-03 09:19:31 -05:00
controllers refactor: Remove CachedQueries and rename optimized functions 2025-07-30 13:17:56 -05:00
live fix: Handle both atom and string keys in weather view packet comparison 2025-08-03 15:46:12 -05:00
plugs Fix ShutdownHandler health check errors 2025-07-28 08:19:27 -05:00
aprs_symbol.ex Add Redis-based distributed caching and rate limiting 2025-07-26 15:29:38 -05:00
endpoint.ex Fix Leaflet library loading race condition and enable Redis-free development 2025-07-27 12:20:23 -05:00
gettext.ex more languages 2025-07-06 10:08:58 -05:00
router.ex feat: Implement direct station URLs with persistent latest packet display 2025-07-30 12:56:05 -05:00
telemetry.ex Fix TelemetryMetricsPrometheus buckets configuration properly 2025-07-27 14:24:25 -05:00
time_helpers.ex Add missing type specifications to improve type safety 2025-07-30 13:40:14 -05:00
time_utils.ex refactor and performance improvements 2025-07-10 10:53:34 -05:00
user_auth.ex Add missing type specifications to improve type safety 2025-07-30 13:40:14 -05:00
weather_units.ex Add missing type specifications to improve type safety 2025-07-30 13:40:14 -05:00