Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    ATIS age overflow at the end of month

    Scheduled Pinned Locked Moved Unsolved Replicable BUGs
    3 Posts 2 Posters 1.9k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • yuyichaoY Offline
      yuyichao | Premium
      last edited by

      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.

      1 Reply Last reply Reply Quote 2
      • T Offline
        TomSlavkovsky API developers | Premium
        last edited by

        @yuyichao thanks for reporting, will investigate it.

        1 Reply Last reply Reply Quote 0
        • yuyichaoY Offline
          yuyichao | Premium
          last edited by

          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....

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Windy Community  |  Powered by excellent NodeBB
          Terms of Use     Privacy Policy     Windy.com