Clock based on traffic light