Improvements to strftime handling in Windows

This will fix it for Save the Children too.