Added .editorconfig.
Improved looping in postDate() method.