Navigation

    Windy Community

    • Register
    • Login
    • Search
    • Unread
    • Categories
    • Groups
    • Go to windy.com

    UNSOLVED ATIS age overflow at the end of month

    Replicable BUGs
    2
    3
    256
    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.
    • Y
      yuyichao 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
        TomSlavkovsky | Premium last edited by

        @yuyichao thanks for reporting, will investigate it.

        1 Reply Last reply Reply Quote 0
        • Y
          yuyichao 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
          Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
          NodeBB & contributors, OSM & contributors, HERE maps
          Terms and Conditions     Privacy Policy