JSFiddle - React, Tailwind, and code Playground

HTML

<div class="datetime">2015-06-04 16:00:00</div>
<div class="datetime">2015-06-05 13:00:00</div>

JavaScript

$('.datetime').each(function () {
    		var value  = $(this).text().trim().split(' '),
			date   = value[1].split(':'),
			day    = value[0].split('-'),
			days   = ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],
			months = ['January','February','March','April','May','June','July','August','September','October','November','December'];
			date.pop();
    		$(this).html(days[new Date(Date.parse('2015-05-04')).getDay()] +' '+day[2]+' '+ months[new Date(Date.parse(value[0])).getMonth()] + ' - ' + date[0] + ':' + date[1]);  
		});