aprs.me/lib/aprsme_web
Graham McIntire cc5b3ec027
fix: Handle string timestamps in weather view DateTime comparison
The weather view was crashing with FunctionClauseError when comparing
string timestamps with DateTime structs. This happens when packets are
broadcast with string timestamps instead of DateTime objects.

Changes:
- Add cases to handle when one timestamp is a string and the other is DateTime
- Parse ISO8601 string timestamps before comparison
- Append 'Z' to timestamps that don't have timezone info
- Fallback safely when parsing fails

This prevents crashes when the weather view receives packets with
mixed timestamp formats from different parts of the system.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-03 15:49:46 -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 string timestamps in weather view DateTime comparison 2025-08-03 15:49:46 -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