ATIS age overflow at the end of month



  • See the screenshot attached.

    FBE83316-7E26-447A-89AD-F630B0FCCBB9.jpeg

    When the time in the ATIS changed on the first day of a month, the age calculation was not able to handle that and overflows to some large number.



  • @yuyichao thanks for reporting, will investigate it.



  • Just noticed that this is still happening (and it's happening right now since we are at the end of month again...).

    Looking at the code, it seems that the issue comes directly from the server side. The server returns a ux: null in the trend array after metar which is why all the wrong time have exactly the same value, howOld treated it as 0... The returned time is in fact the time since Unix epoch....


Log in to reply
 

Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
NodeBB & contributors, OSM & contributors, HERE maps
Terms and Conditions     Privacy Policy