Why would they? Your formats specify a digit in the last position.
Note however that date_hold is not large enough. max_size must include room for the trailing null character. %Y%m%d is 8 characters (4 digit year), therefore, date_hold must be at least 9 characters.