mirror of
https://github.com/alexhopeoconnor/bom-local-service.git
synced 2026-10-22 07:02:08 +10:00
Remove minutes ago parsing, use UTC timestamps directly
- Refactor TimeParsingService to parse time strings to UTC only - Remove minutesAgo from RadarFrame and FrameMetadata models - Update CaptureFramesStep to extract UTC timestamps directly - Update CacheService to store/load ObservationTime instead of MinutesAgo - Update BomRadarService to use AbsoluteObservationTime directly - Remove all backward compatibility code for old cache folders - Update documentation and test SPA to calculate minutes ago on client - Fix step registration to register concrete types for DI resolution - Fix hosted service registration to use reflection correctly
This commit is contained in:
@@ -11,8 +11,9 @@ public class FrameMetadata
|
||||
public int FrameIndex { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Number of minutes ago this frame represents (40, 35, 30, 25, 20, 15, 10).
|
||||
/// The absolute UTC observation time for this frame.
|
||||
/// Parsed directly from the frame display label during capture.
|
||||
/// </summary>
|
||||
public int MinutesAgo { get; set; }
|
||||
public DateTime ObservationTime { get; set; }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user