• 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.

(solved)Calendar Dates - Problematic behaviour since 2.18

Scheduled Pinned Locked Moved Troubleshooting
calendar
7 Posts 2 Posters 1.4k 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 Away
    sdetweil @OberfragGER
    last edited by Jan 6, 2022, 10:55 PM

    @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 Jan 6, 2022, 11:01 PM Reply Quote 0
    • O Offline
      OberfragGER @sdetweil
      last edited by OberfragGER Jan 7, 2022, 1:18 PM Jan 6, 2022, 11:01 PM

      @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 Jan 7, 2022, 1:29 PM Reply Quote 0
      • S Away
        sdetweil @OberfragGER
        last edited by Jan 7, 2022, 1:29 PM

        @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 Jan 7, 2022, 8:55 PM Reply Quote 0
        • O Offline
          OberfragGER @sdetweil
          last edited by OberfragGER Jan 7, 2022, 8:58 PM Jan 7, 2022, 8:55 PM

          @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 Jan 7, 2022, 9:09 PM Reply Quote 0
          • S Away
            sdetweil @OberfragGER
            last edited by Jan 7, 2022, 9:09 PM

            @oberfragger use fullDayEventDateFormat

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            O 1 Reply Last reply Jan 8, 2022, 11:07 PM Reply Quote 0
            • O Offline
              OberfragGER @sdetweil
              last edited by Jan 8, 2022, 11:07 PM

              @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
              1 / 1
              • First post
                6/7
                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