fix line endings, trailing whitespace in date_based.rs