summaryrefslogtreecommitdiff
path: root/core/entries.go
diff options
context:
space:
mode:
authornytpu <alex@nytpu.com>2021-03-22 08:20:21 -0600
committernytpu <alex@nytpu.com>2021-03-22 08:20:21 -0600
commitd3d181e8fab585d5bf40beaafeafd00780a09b0a (patch)
tree8bb1df5a3c7338bcc1e0a4ea81e665d573de60ee /core/entries.go
parent413c63149f2e8dfb544fb4dcc587910202d7c425 (diff)
Show time that was generated
Diffstat (limited to 'core/entries.go')
-rw-r--r--core/entries.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/entries.go b/core/entries.go
index 72279ad..d207e7c 100644
--- a/core/entries.go
+++ b/core/entries.go
@@ -135,6 +135,7 @@ func (d *FullData) WriteFeed(dataPath string) error {
pe := d.getPageEntries()
rawPage += fmt.Sprintf("\n=> subscriptions.gmi Currently aggregating %d capsules, gopherholes, and websites.\n\n", len(d.Feeds)+len(d.Pages))
d.RUnlock()
+ rawPage += fmt.Sprintf("Generated on %s\n", time.Now().Format("2006-01-02 at 15:04"))
if len(pe.Entries) > 0 {
curDay := toLocalDay(pe.Entries[0].Published)