Swap DD and MM according to browser locale, remove loop from previous commit