Fix dateTimeFormat to use Do vs do for moment.js formatting
This commit is contained in:
parent
b53ad03ad0
commit
2a7dce9fac
|
@ -131,7 +131,7 @@ MessageListModule.prototype.mciReady = function(mciData, cb) {
|
||||||
// :TODO: fix default format
|
// :TODO: fix default format
|
||||||
var listFormat = self.menuConfig.config.listFormat || '{msgNum} - {subj} - {to}';
|
var listFormat = self.menuConfig.config.listFormat || '{msgNum} - {subj} - {to}';
|
||||||
var focusListFormat = self.menuConfig.config.focusListFormat || listFormat; // :TODO: default change color here
|
var focusListFormat = self.menuConfig.config.focusListFormat || listFormat; // :TODO: default change color here
|
||||||
var dateTimeFormat = self.menuConfig.config.dateTimeFormat || 'ddd MMM DDD';
|
var dateTimeFormat = self.menuConfig.config.dateTimeFormat || 'ddd MMM Do';
|
||||||
var newIndicator = self.menuConfig.config.newIndicator || '*';
|
var newIndicator = self.menuConfig.config.newIndicator || '*';
|
||||||
|
|
||||||
var msgNum = 1;
|
var msgNum = 1;
|
||||||
|
|
|
@ -146,7 +146,7 @@
|
||||||
config: {
|
config: {
|
||||||
listFormat: "|00|01|37{msgNum:>4} |00|37- |36{subj:<29.29} {from:<20.20} {ts} |01|31{newIndicator}"
|
listFormat: "|00|01|37{msgNum:>4} |00|37- |36{subj:<29.29} {from:<20.20} {ts} |01|31{newIndicator}"
|
||||||
focusListFormat: "|00|42|30{msgNum:>4} - {subj:<29.29} {from:<20.20} {ts} {newIndicator}"
|
focusListFormat: "|00|42|30{msgNum:>4} - {subj:<29.29} {from:<20.20} {ts} {newIndicator}"
|
||||||
dateTimeFormat: ddd MMM do
|
dateTimeFormat: ddd MMM Do
|
||||||
}
|
}
|
||||||
mci: {
|
mci: {
|
||||||
VM1: {
|
VM1: {
|
||||||
|
|
Loading…
Reference in New Issue