Fixed date format on dashboard for consistency

pull/64/head
Jordan Wright 2015-12-31 11:05:00 -06:00
parent 04a942298d
commit 72f6387b3b
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ $(document).ready(function(){
var average = 0 var average = 0
campaignTable = $("#campaignTable").DataTable(); campaignTable = $("#campaignTable").DataTable();
$.each(campaigns, function(i, campaign){ $.each(campaigns, function(i, campaign){
var campaign_date = moment(campaign.created_date).format('MMMM Do YYYY h:mm') var campaign_date = moment(campaign.created_date).format('MMMM Do YYYY h:mm:ss a')
var label = labels[campaign.status] || "label-default"; var label = labels[campaign.status] || "label-default";
// Add it to the table // Add it to the table
campaignTable.row.add([ campaignTable.row.add([