aprs.me/lib/aprsme_web/live/weather_live
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
..
callsign_view.ex fix: Handle string timestamps in weather view DateTime comparison 2025-08-03 15:49:46 -05:00
callsign_view.html.heex fix: Handle numeric weather values and hide N/A fields in weather view 2025-08-03 15:33:09 -05:00