Fixed problem with dates being interpreted in American way