fix set sent_at on complete
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user