From e07c1c4f3f13b7120a37ed4176246e32be48a9aa Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 1 Jul 2023 14:10:35 +0200 Subject: [PATCH] fix typo for schedule name --- app.go | 4 ++-- version.go | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app.go b/app.go index 3d439ac..9a4c76e 100644 --- a/app.go +++ b/app.go @@ -380,7 +380,7 @@ func (a *App) NextSchedule(now time.Time) (string, error) { } } if t.Year() < now.Year() || t.Month() != now.Month() { - return "month", nil + return "monthly", nil } } @@ -395,7 +395,7 @@ func (a *App) NextSchedule(now time.Time) (string, error) { ny, nw := now.ISOWeek() ty, tw := t.ISOWeek() if ty < ny || tw < nw { - return "month", nil + return "weekly", nil } } diff --git a/version.go b/version.go index 265857b..ca8bedf 100644 --- a/version.go +++ b/version.go @@ -1,7 +1,7 @@ // Code generated by version.sh (@generated) DO NOT EDIT. package main -var githash = "c372d43" +var githash = "db05789" var branch = "v2" -var buildstamp = "2023-06-30_22:15:16" -var commits = "63" -var version = "c372d43-b63 - 2023-06-30_22:15:16" +var buildstamp = "2023-07-01_12:10:14" +var commits = "64" +var version = "db05789-b64 - 2023-07-01_12:10:14"