Fixed the alert time calculation