summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--go.mod2
-rw-r--r--main.go2
2 files changed, 3 insertions, 1 deletions
diff --git a/go.mod b/go.mod
index a55e1e8..b8f05bd 100644
--- a/go.mod
+++ b/go.mod
@@ -1 +1,3 @@
module njw.name/bbcschedule
+
+go 1.15
diff --git a/main.go b/main.go
index d440abd..2525f18 100644
--- a/main.go
+++ b/main.go
@@ -60,7 +60,7 @@ func fmtDate(d string) string {
if err != nil {
return d
}
- return t.Format(time.Kitchen)
+ return t.Local().Format(time.Kitchen)
}
// idFromUrn gets the ID from an iPlayer URN. This is the appropriate