Fix datetime formatting on windows (issue #23) by replacing %e with %d,
this is the least complicated method of doing things but will cause
inconsistent behavior across systems.

Anyone has another suggestion?