How can I elegantly display a date range that includes two dates, without repeating information if it's the same for both dates? My idea is something like this:
Tue, 05 May 2015 19:31-20:31 GMT
Mon, 04 19:31 - Tue, 05 20:31 May 2015
It's acceptable if there is some overlap, for example:
Mon May 4th, 19:31 - Tue May 5th, 20:31 2015
The aim is to create a visually appealing format for users. I'm unsure of how to tackle this - currently I only know how to display both full dates. Despite my research, I have not found a solution - plenty on formatting individual dates, but nothing when it comes to combining two dates.
I am utilizing AngularJS, but if you have a solution that doesn't rely on Angular, that would work as well.