Fixing win date format bug