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> |
||
|---|---|---|
| .. | ||
| components | ||
| controllers | ||
| live | ||
| plugs | ||
| aprs_symbol.ex | ||
| endpoint.ex | ||
| gettext.ex | ||
| router.ex | ||
| telemetry.ex | ||
| time_helpers.ex | ||
| time_utils.ex | ||
| user_auth.ex | ||
| weather_units.ex | ||