Corrected errors for multiplatform

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