Template talk:D-ex/main

Why the sub in the day check? The following code returns the day if parameter 2 is a numeric or if it is a three letter abbreviation. However, it returns 1 if the month is fully spelled out.

Why? Who knows. No problem- we can make it happy by chopping it off at 3 chars.