added function to convert a 1-letter day string to 2 letters if necessary, e.g. 3 becomes 03.