ive been trying with out luck to have my cadenday display the absolute ie. Oct 16, then when its 20 days out it switches to relative, via the urgency option ie event in X days, then when 24 hours out it switches to event in X hours via get relative. ive mucked about in my config from reading the docs but cant get it working, maybe im not understanding or missreading the docs.
heres my calendar config below…
Thanks
{
module: 'calendar_monthly',
position: 'top_left',
config: {}
},
{
module: 'calendar',
header: "stuff comin' up...",
position: 'top_left',
config: {
colored: true,
coloredSymbolOnly: true,
maxTitleLength: 25,
fade: false,
timeFormat: 'absolute',
urgency: 20,
getRelative: 24,
calendars: [
{
symbol: 'calendar',
color: '#4287f5',
url: 'my url'
},
{
symbol: 'apple-alt',
color: '#ffffff',
url: 'my url'
},
{
symbol: 'robot',
color: '#6dd300',
url: 'my url'
}
]
}
},