Timeleft: replace len hardcoded content by charsmax and sizeof