mirror of https://github.com/gophish/gophish
Fixed date format on dashboard for consistency
parent
04a942298d
commit
72f6387b3b
|
@ -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([
|
||||||
|
|
Loading…
Reference in New Issue