MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Calendar ...in X number of days

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    1 Posts 1 Posters 169 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      banbutcher
      last edited by

      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'
                }
              ]
            }
          },
      
      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy