fix set sent_at on complete

This commit is contained in:
Marcus Efraimsson
2018-09-28 15:11:03 +02:00
parent c1763508e0
commit 67c58fa5e4
2 changed files with 4 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ func (n *notificationService) sendAndMarkAsComplete(evalContext *EvalContext, no
if err != nil {
n.log.Error("failed to send notification", "id", not.GetNotifierId())
} else {
notifierState.state.SentAt = time.Now().Unix()
notifierState.state.SentAt = time.Now().UTC().Unix()
}
if evalContext.IsTestRun {