• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.4k 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.
  • K Offline
    KirAsh4 Moderator
    last edited by Sep 21, 2016, 11:23 PM

    What’s the rest of the config block look like?

    A Life? Cool! Where can I download one of those from?

    1 Reply Last reply Reply Quote 0
    • S Offline
      SimJim
      last edited by Sep 22, 2016, 12:05 PM

      0_1474545910607_calender.JPG

      1 Reply Last reply Reply Quote 0
      • D Offline
        deadherring
        last edited by Sep 23, 2016, 5:14 PM

        I am having the same problem. However: the way I configured it, is I modified calendar.js in magicmirror/modules/default/calendar. There is a setting in that file timeformat:. It was set to relative and I modified it to absolute.

        Can someone please clarify if this is the proper way to configure this or does something have to be changed in config.js too?

        My calendar is still relative right now.

        Thanks!

        Nathan

        1 Reply Last reply Reply Quote 0
        • L Offline
          Les
          last edited by Sep 30, 2016, 7:04 PM

          I’m also having the same problem of absolute/relative dates. From the config file if it helps to troubleshoot…

                     {
                              module: 'calendar',
                              header: 'Calendar',
                              position: 'top_left',
                              config: {
                                      maximumEntries: '6',
                                      calendars: [
                                              {
                                                      symbol: 'calendar-check-o ',
                                                      url: 'https://calendar.google.com....',
                                                      fade: 'false',
                                                      timeFormat: 'absolute'
                                              }
                                      ]
                              }
          
          1 Reply Last reply Reply Quote 0
          • P Offline
            paulocarrasco
            last edited by Oct 1, 2016, 8:22 AM

            Hi,

            I’m new to this MM but I had the same problem. The solution is placing the timeFormat: ‘absolute’ parameter before the "calendars: [ " line.

            I hope this helps.

            M 1 Reply Last reply Feb 24, 2018, 3:00 PM Reply Quote 0
            • L Offline
              Les
              last edited by Oct 1, 2016, 3:33 PM

              Also the urgency variable. Default is set to 7 days, so only those items after 7 days are displayed in absolute. So I set my to 3 days, anything after that shows up as it should. So SimJim, you may want to check that variable. Even set it to 1 for testing :)

              1 Reply Last reply Reply Quote 0
              • D Offline
                deadherring
                last edited by Oct 14, 2016, 4:13 PM

                I can’t get absolute dates working. Here’s the relevant part of my calandar.js file.

                Anyone have any ideas?

                Module.register(“calendar”,{

                // Define module defaults
                defaults: {
                	maximumEntries: 10, // Total Maximum Entries
                	maximumNumberOfDays: 365,
                	displaySymbol: true,
                	defaultSymbol: "calendar", // Fontawesome Symbol see http://fontawesome.io/cheatsheet/
                	displayRepeatingCountTitle: false,
                	defaultRepeatingCountTitle: '',
                	maxTitleLength: 15,
                	fetchInterval: 5 * 60 * 1000, // Update every 5 minutes.
                	animationSpeed: 2000,
                	fade: false,
                	urgency: 0,
                	timeFormat: "absolute",
                	fadePoint: 0.25, // Start on 1/4th of the list.
                	calendars: [
                		{
                			symbol: "calendar",
                			url: "http://www.calendarlabs.com/templates/ical/US-Holidays.ics",
                		},
                	],
                
                1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User
                  last edited by A Former User Oct 28, 2016, 9:35 PM Oct 28, 2016, 9:24 PM

                  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 Jul 4, 2017, 10:26 AM

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

                    M 1 Reply Last reply Jul 4, 2017, 12:20 PM Reply Quote 0
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @orayoflighto
                      last edited by Mykle1 Jul 4, 2017, 12:21 PM Jul 4, 2017, 12:20 PM

                      @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
                      • 1
                      • 2
                      • 1 / 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