From 2d92d26e8abe2c368796e9d38c9ad87d0ac53df5 Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Sat, 21 Jan 2023 08:54:12 -0800 Subject: Minor cleanup --- hotline/news.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'hotline/news.go') diff --git a/hotline/news.go b/hotline/news.go index 11e2a27..38db97a 100644 --- a/hotline/news.go +++ b/hotline/news.go @@ -7,6 +7,14 @@ import ( "sort" ) +const defaultNewsDateFormat = "Jan02 15:04" // Jun23 20:49 + +const defaultNewsTemplate = `From %s (%s): + +%s + +__________________________________________________________` + type ThreadedNews struct { Categories map[string]NewsCategoryListData15 `yaml:"Categories"` } -- cgit