Fixes incorrect time calculations in the interface clocks: UTC Clock Issues Fixed: - Remove incorrect timezone offset addition that was causing wrong UTC display - Use proper getUTCHours() and getUTCMinutes() methods directly on current time - Ensure UTC clock shows actual UTC time for aviation coordination Last Update Clock Issues Fixed: - Stop using UTC methods for local "last update" time display - Use getHours() and getMinutes() for proper local time representation - Last update clock now shows meaningful local time when data was received Technical Changes: - Add useUTC parameter to updateClock() method for proper time zone handling - Simplify time calculations by using appropriate Date methods - Add clear comments explaining clock behavior and timezone usage Expected Behavior: - UTC clock displays current UTC time (aviation standard) - Last update clock displays local time of most recent data update 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| static | ||
| assets.go | ||