diff options
| -rw-r--r-- | walrss/internal/rss/watcher.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/walrss/internal/rss/watcher.go b/walrss/internal/rss/watcher.go index f94eef3..9d530e7 100644 --- a/walrss/internal/rss/watcher.go +++ b/walrss/internal/rss/watcher.go @@ -23,6 +23,7 @@ func StartWatcher(st *state.State) { func runFeedProcessor(st *state.State, currentTime time.Time) { log.Info().Str("location", "feed watcher").Msg("running hourly job") + currentTime = currentTime.UTC() if err := ProcessFeeds(st, db.SendDayFromWeekday(currentTime.Weekday()), currentTime.Hour()); err != nil { log.Error().Err(err).Str("location", "feed watcher").Send() } |
