Fix dateTimeFormat to use Do vs do for moment.js formatting

This commit is contained in:
Bryan Ashby 2015-12-13 17:31:16 -07:00
parent b53ad03ad0
commit 2a7dce9fac
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ MessageListModule.prototype.mciReady = function(mciData, cb) {
// :TODO: fix default format
var listFormat = self.menuConfig.config.listFormat || '{msgNum} - {subj} - {to}';
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 msgNum = 1;

View File

@ -146,7 +146,7 @@
config: {
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}"
dateTimeFormat: ddd MMM do
dateTimeFormat: ddd MMM Do
}
mci: {
VM1: {