From 076c0d5afb299fedc5ee61a13bfec7f86055fc89 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 28 Sep 2024 11:58:41 +0300 Subject: can schedule entry --- internal/schedule/stats.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/schedule/stats.go') diff --git a/internal/schedule/stats.go b/internal/schedule/stats.go index aac3737..b36fd54 100644 --- a/internal/schedule/stats.go +++ b/internal/schedule/stats.go @@ -117,6 +117,7 @@ func pastTime(duration time.Duration) time.Time { return nowTime().Add(-duration) } +// TODO: Maybe introduce types.Entry struct, which encapsulates all the parsing func parseEntryPath(filePath string) (time.Time, error) { // Format: foobarbaz.something.here.txt.STAMP.{posted,queued} // We want to get the STAMP! -- cgit v1.2.3