Corrected non-english systems on custom date format
Corrected newLine on Windows systems