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.

    show End in Calendar Config

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 2 Posters 1.6k Views 3 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.
    • S Offline
      sdetweil @cweinhofer
      last edited by sdetweil

      @cweinhofer AND you have to set timeFormat:‘absolute’

      and u MAY have to change the getRelative and other settings…

      way too many settings

      config: {
      				showEnd:true,
      				timeFormat:"absolute",
      				urgency:0,
      				getRelative:0,
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • C Offline
        cweinhofer
        last edited by

        I agree. The number of settings and their interrelatedness is a little overwhelming.

        My config already has the other three settings

          {
            module: "calendar",
            position: "right",
            config: {
              maximumNumberOfDays: 2,
              displaySymbol: true,
              fetchInterval: 15 * 60 * 1000,
              fade: false,
              urgency: 0,
              timeFormat: "absolute",
              dateFormat: "ddd",
              fullDayEventDateFormat: "ddd",
              showEnd: true,
              getRelative: 0,
              showTimeToday: true,
              colored: false,
              calendars: [
              {
                 url: "https://calendar.google.com/calendar/ical/   ...   /basic.ics",
                 symbol: "c",
               },
               {
                 url: "https://calendar.google.com/calendar/ical/   ...   /basic.ics",
                 symbol: "j",
               },
               {
                 url: "https://calendar.google.com/calendar/ical/   ...   /basic.ics",
                 symbol: "t",
               },
             ],
           }
          },
        

        ** I deleted and reposted my entry from yesterday becuse I realized in my various testing I had left off one of the options. This is my actual config. **

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @cweinhofer
          last edited by sdetweil

          @cweinhofer your dateFormat says only show date

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • C Offline
            cweinhofer
            last edited by

            Thanks, @sdetweil That was the ticket.

            From both the name of the option and the fact that the description and example don’t say anything about including a time format, I assumed this was not the place to set that.

            I think I had even tried doing it at one point and it didn’t work – but I probably hadn’t tried it with urgency:0 and getRelative:0 set.

            I’m going to put in a pull request to try to make this a little less confusing for others in the future. Can you tell me if this sounds okay?

            CURRENT ENTRY

            Format to use for the date of events when using absolute dates. (version <= 2.16.0) From version 2.16.0, this option will be used to format absolute and relative dates. (e.g. DD/MM/YY to change from the default MM/DD/YYYY)

            Possible values: See Moment.js formats
            Default value: MMM Do (e.g. Jan 18th)

            PROPOSED CHANGE

            Format to use for the date of events when using absolute dates. (version <= 2.16.0) From version 2.16.0, this option will be used to format absolute and relative dates. (e.g. DD/MM/YY to change from the default MM/DD/YYYY)

            To show the event time along with the date, use a format like MMM Do HH:mm. Depending on configuration, may also require the options timeFormat:“absolute”, urgency:0, getRelative:0,

            Possible values: See Moment.js formats
            Default value: MMM Do (e.g. Jan 18th)

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @cweinhofer
              last edited by

              @cweinhofer its ok… who reads the doc?! lol…

              like any other reference manual it leaves out a lot of detail.

              someone could write 50-75 pages of explanation with matching output examples. but it would be a bear to maintain… as we still take changes to provide other formatting options…

              (a recently submitted one wants to show ONLY the start date/time when the event duration is 0 and showEnd is true…)

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              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