Fix timestamps for map samples not being correct #21
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: paul/sinoptik#21
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, the
Last-Modified
header is used to determine the stamp of the maps.This stamps is not only used to check if the maps are stale, but also to determine the timestamp base that is used for the samples.
Parse the time from the filename instead and use that as timestamp base, thus fixing all the timestamps of the samples.
Example:
It is currently 14:57, the
Last-Modified
header of of the maps is 14:52:17.However, a part of the filename of maps indicates (in UTC) the date/time the maps start at: 202205081200, so 14:00:00. That should be used as the timestamp base, instead of 14:52:17.