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.

    (solved)Calendar Dates - Problematic behaviour since 2.18

    Scheduled Pinned Locked Moved Troubleshooting
    calendar
    7 Posts 2 Posters 1.8k Views 2 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 @OberfragGER
      last edited by

      @oberfragger

      I also added an extra line to the wrong calendar-entry. How can i change that!

      I don’t understand.

      u mean in the post here?

      just edit your post to fix it

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      O 1 Reply Last reply Reply Quote 0
      • O Offline
        OberfragGER @sdetweil
        last edited by OberfragGER

        @sdetweil Hi @sdetweil , thx for your reply.

        I mean, i added the dateFormat to every single calendar. But i doesnt work too.

            {
              module: 'calendar',
              header: 'Kalender',
              position: 'top_left',
              config: {
        		dateFormat: 'D.MMMM',
        		displayRepeatingCountTitle: true,
        		colored: true,
        		coloredSymbolOnly: true,
                calendars: [
        		  {
        			symbol: 'calendar',
                    url: 'https://www.officeholidays.com/ics-local-name/germany',
        			color: '#fdffe3'
                  },
        		  {
        			symbol: 'trash-alt',
        
        			url: 'https://calendar.google.com/calendar/ical/XXXXXXXXX%40import.calendar.google.com/public/basic.ics',
        			color: '#DF0F32',
                                dateFormat: 'D.MMMM',
        			maximumEntries: 5
        		  },
        		  {
                    url: 'https://calendar.google.com/calendar/ical/oberfragger%40gmail.com/private-XXXXXXXXX/basic.ics',
        			symbol: 'calendar-check',
        			color: '#7cd2fc'
                  },
        		  {
         			url: 'http://localhost:8080/mmm-googlebirthdaysprovider',
        			repeatingCountTitle: 'Geburtstag',
        			dateFormat: 'D.MMMM',
        			symbol: 'birthday-cake',
        			color: '#F5DA81'
         		  },  
                  {
                    symbol: 'flag-checkered',
                    url: 'http://localhost:8080/MMM-Formula1/schedule.ics',
        			color: '#b8e9fc'
                  }
                ],
        		customEvents: [
        		  {
        			keyword: 'tsfeiertag',
        			color: '#fcb8d8',
        			symbol: 'gifts'
        		  },
        		  {
        			keyword: 'Könige',
        			color: '#fff2cc',
        			symbol: 'crown'
        		  },
        		  {
        			keyword: 'gelbe',
        			color: '#fff133',
        			symbol: 'recycle'
        		  },
        		  {
        			keyword: 'blaue',
        			color: '#335cff',
        			symbol: 'newspaper'
        		  },
        		  {
        			keyword: 'bäume',
        			color: '#06a929',
        			symbol: 'tree'
        		  },
        		  {
        			keyword: 'oster',
        			color: '#adf542',
        			symbol: 'egg'
        		  }
        		]
              }
            },
        

        In 2.17 it looked so:
        fe3a0afe-73b2-4fce-891f-46f7b5c08809-image.png

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

          @oberfragger looking thru the code, date format is only used if timeFormat is set to ‘absolute’ or ‘dateheaders’

          by default it is ‘relative’

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          O 1 Reply Last reply Reply Quote 0
          • O Offline
            OberfragGER @sdetweil
            last edited by OberfragGER

            @sdetweil I found the problem!
            Its about whole day events!
            c495a7cc-6576-479e-8a5d-7c64748ddd91-image.png

            Now you see both events are from the same (google) calendar.
            “Test - dayevent” is for the whole day.
            “Zahnarzt” is just for a timeslot.

            In the 2.18 releasenotes from @MichMich is mentioned, that “Fixed Calendar showEnd and Full Date overlay (#2629).” Maybe this or another change caused this issue.

            Did you know, where i can add this issue to 2.18??? Whith dateFormat: ‘D.MMMM’, both entries should look in the same format.

            This should moved to Troubleshooting (not modules/troubleshooting).

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

              @oberfragger use fullDayEventDateFormat

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              O 1 Reply Last reply Reply Quote 0
              • O Offline
                OberfragGER @sdetweil
                last edited by

                @sdetweil said in Calendar Dates - Problematic behaviour since 2.18:

                fullDayEventDateFormat

                Thanks a lot, again @sdetweil .

                fullDayEventDateFormat: 'D.MMMM',
                

                did the job!

                1 Reply Last reply Reply Quote 1
                • 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