diff --git a/charger/ocpp/connector_core.go b/charger/ocpp/connector_core.go index 453550b7f3..fbdc3c52f5 100644 --- a/charger/ocpp/connector_core.go +++ b/charger/ocpp/connector_core.go @@ -20,7 +20,7 @@ func (conn *Connector) timestampValid(t time.Time) bool { } // reject older values than we already have - return t.After(conn.status.Timestamp.Time) + return !t.Before(conn.status.Timestamp.Time) } func (conn *Connector) StatusNotification(request *core.StatusNotificationRequest) (*core.StatusNotificationConfirmation, error) {