Fixes silent rebuild failures on single-digit days

single-digit days from scalar localtime() are not zero-padded and instead use a space

The $datetime regex does not account for the extra space and is instead expecting a number. This is a quick fix that appears to work with both single and double digit days as intended.