Code standard says two spaces and 0 tabs :-)
Code standard says braces go in-line. Separate if brackets, change date
check operator to not hit "else". Run validation in simple loop. Run use
output through t() and fix typo in message.