mirror of
https://github.com/beestat/app.git
synced 2025-07-09 03:04:07 -04:00
Fixed #355 - Alert date shows the wrong day of month
This commit is contained in:
parent
14bed9c570
commit
bb8e618fc6
@ -214,8 +214,7 @@ beestat.component.alert.prototype.decorate_detail_ = function(parent) {
|
|||||||
.innerHTML('Date')
|
.innerHTML('Date')
|
||||||
.style('font-weight', beestat.style.font_weight.bold));
|
.style('font-weight', beestat.style.font_weight.bold));
|
||||||
var timestamp = moment(this.alert_.timestamp);
|
var timestamp = moment(this.alert_.timestamp);
|
||||||
date.appendChild($.createElement('div').innerHTML(timestamp.format('MMM M')));
|
date.appendChild($.createElement('div').innerHTML(timestamp.format('MMM Do')));
|
||||||
// date.appendChild($.createElement('div').innerHTML(timestamp.format('MMM M @ h:mm a')));
|
|
||||||
|
|
||||||
var details = $.createElement('div');
|
var details = $.createElement('div');
|
||||||
this.alert_detail_.appendChild(details);
|
this.alert_detail_.appendChild(details);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user