From bb8e618fc6b72e716a5c17916706d80bd9713903 Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Tue, 24 May 2022 08:48:33 -0400 Subject: [PATCH] Fixed #355 - Alert date shows the wrong day of month --- js/component/alert.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/component/alert.js b/js/component/alert.js index 2d46540..b9b720a 100644 --- a/js/component/alert.js +++ b/js/component/alert.js @@ -214,8 +214,7 @@ beestat.component.alert.prototype.decorate_detail_ = function(parent) { .innerHTML('Date') .style('font-weight', beestat.style.font_weight.bold)); var timestamp = moment(this.alert_.timestamp); - date.appendChild($.createElement('div').innerHTML(timestamp.format('MMM M'))); - // date.appendChild($.createElement('div').innerHTML(timestamp.format('MMM M @ h:mm a'))); + date.appendChild($.createElement('div').innerHTML(timestamp.format('MMM Do'))); var details = $.createElement('div'); this.alert_detail_.appendChild(details);