fix for time zone delta
validate $max_seconds is a number