Format date intervals in a language-independent manner.