Allow day name format to be passed in.