diff --git a/dokomoforms/static/src/admin/js/account-overview.js b/dokomoforms/static/src/admin/js/account-overview.js index d29672e3..8fb10c8d 100644 --- a/dokomoforms/static/src/admin/js/account-overview.js +++ b/dokomoforms/static/src/admin/js/account-overview.js @@ -29,7 +29,7 @@ var AccountOverview = (function() { var submissions = data.submissions, $table = $('#recent-list table tbody'); submissions.forEach(function(sub) { - sub.submission_time = moment(sub.submission_time).format('MMM d, YYYY [at] HH:mm'); + sub.submission_time = moment(sub.submission_time).format('MMM D, YYYY [at] HH:mm'); var displayData = _.extend(sub, { _t: _t}); console.log(displayData); $table.append(recent_sub_tpl(displayData)); diff --git a/dokomoforms/static/src/admin/js/submission-modal.js b/dokomoforms/static/src/admin/js/submission-modal.js index c68dcf4f..a2b6622d 100644 --- a/dokomoforms/static/src/admin/js/submission-modal.js +++ b/dokomoforms/static/src/admin/js/submission-modal.js @@ -12,7 +12,7 @@ module.exports = (function() { $('.modal-submission .modal-content').load(url, function() { $('.modal-submission').modal(); if (window.SUB_DATETIMES) { - utils.populateDates(window.SUB_DATETIMES, 'MMM d, YYYY HH:mm'); + utils.populateDates(window.SUB_DATETIMES, 'MMM D, YYYY HH:mm'); } }); }