[ phpweather-Feature Requests-586044 ] More precise date/time output
Brought to you by:
iridium
From: <no...@so...> - 2002-08-06 10:24:40
|
Feature Requests item #586044, was opened at 2002-07-24 19:22 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377955&aid=586044&group_id=23245 Category: None Group: None >Status: Open Resolution: None Priority: 5 Submitted By: hort (hortensio) Assigned to: Nobody/Anonymous (nobody) >Summary: More precise date/time output Initial Comment: In LPFU at 10:30 UTC shows "-8238 minutes ago, at 10:30 UTC, the wind was blowing at a speed of 7.7 ".... the problem is of course the - sign that shows (variable $minutes_old). ---------------------------------------------------------------------- >Comment By: Martin Geisler (gimpster) Date: 2002-08-06 12:24 Message: Logged In: YES user_id=104098 I agree that something should be done about negative dates - the best thing would be, if we had a system that would automatically use the right precission, so that a recent report gets a string like '25 minutes ago, at XX:XX UTC' and an older report gets '3 days ago, at XX:YY UTC on August the 3th'. We could even make it so, that one can choose to have a relative date (the 'x units ago') and an absolute date (the 'at XX:YY UTC on ...') or both. I think that would be rather cool. ---------------------------------------------------------------------- Comment By: hort (hortensio) Date: 2002-07-24 20:28 Message: Logged In: YES user_id=583650 Never mind! The LPFU file is from the year 2000 2000/11/30 10:30 LPFU 301030Z 21015G25KT 9999 SCT018 BKN250 21/15 Q1015 RS2505KT 052010KT 232218KT sorry! You could create a control then this happens like if older then 5 days then data to old to be used..... just a thought ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377955&aid=586044&group_id=23245 |