MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    UNSOLVED Calendar ...in X number of days

    Troubleshooting
    1
    1
    75
    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
      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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy