Backport PR #4085 : Fix nbconvert date formats for Windows.