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.

    Default Calender-absolute Date

    Scheduled Pinned Locked Moved Troubleshooting
    14 Posts 11 Posters 10.8k Views 10 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.
    • ? Offline
      A Former User
      last edited by A Former User

      Just a note for others (adding as i work out the system), to change the feed for dates (holidays) from the default list of 10, just open up Calandar.js and

      	maximumEntries: 10, // Total Maximum Entries
      

      Update that to the appropriate days… i.e

      maximumEntries: 4, // Total Maximum Entries
      and to change colours add to Custom CSS
      }
      .calendar .symbol {
      color: yellow;
      }
      .calendar .time {
      color: red;
      }

      (0_1477690482273_Screenshot 2016-10-29 04.33.42.png

      1 Reply Last reply Reply Quote 1
      • O Offline
        orayoflighto Project Sponsor
        last edited by

        Did anyone resolve this? I am having the same issue.

        Mykle1M 1 Reply Last reply Reply Quote 0
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @orayoflighto
          last edited by Mykle1

          @orayoflighto said in Default Calender-absolute Date:

          Did anyone resolve this? I am having the same issue.

          Paste your config.js entry for the calendar module here, using this guide:
          https://forum.magicmirror.builders/topic/4247/how-to-post-code-on-the-forum-for-absolute-beginners

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote -1
          • M Offline
            morso @paulocarrasco
            last edited by morso

            @paulocarrasco said in Default Calender-absolute Date:

            The solution is placing the timeFormat: ‘absolute’ parameter before the "calendars: [ " line.

            I followed @paulocarrasco suggestion and it worked!

            Here is the code

            {
                                    module: "calendar",
                                    header: "US Holidays",
                                    position: "top_left",
                                    config: {
                                            timeFormat: "absolute",
                                            calendars: [
                                                    {
                                                            symbol: "calendar-check-o ",
                                                            url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
                                                    }
                                            ]
                                    }
                            },
            
            
            1 Reply Last reply Reply Quote 0
            • P Offline
              Peter
              last edited by

              I just checked my module, I have timeFormat: ‘absolute’,
              So not: “absolute”
              I hope this makes the difference!
              Peter

              1 Reply Last reply Reply Quote 0
              • T Offline
                Tabbe
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 2 / 2
                • 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