FIX: end date of ranges in html preview was incorrect (PR #9654)

This commit also remove an unused block of code as previewedTimezones can’t be empty anymore.

GitHub

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/discourse-calendar/97376/107