From 8bd2ea9e921cda9eea16d054e58b6947a926d7d6 Mon Sep 17 00:00:00 2001 From: Dustin Essington Date: Tue, 12 Mar 2024 21:09:27 -0600 Subject: [PATCH] https://www.youtube.com/watch?v=-5wpm-gesOY --- webserver/webserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserver/webserver.go b/webserver/webserver.go index fb3e326..d7eefe6 100644 --- a/webserver/webserver.go +++ b/webserver/webserver.go @@ -207,7 +207,7 @@ func getHistoricalStats(ctx *gin.Context) { func getSchedule(ctx *gin.Context) { if scheduler != nil { - nextRun := scheduler.Entry(cronEntry).Next.String() + nextRun := scheduler.Entry(cronEntry).Next.UTC().String() ctx.JSON(200, nextRun) } else { ctx.JSON(200, nil)