X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/3326539367dfa85cb2b0455d5b1c67eaaf59cf8e..902b8ac1e0d96f6c88a9bd352cb32b6bf69105d0:/hotline/news.go?ds=sidebyside 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"` }