Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Calendar: how to change "In 2 days"?

    Troubleshooting
    2
    3
    68
    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.
    • T
      TomJC70 last edited by

      I’m fine with “Today” and “Tomorrow”, but I would like to see “17 Jul” instead of the current “In 2 days”.

      I think my config.js is correctly setup, but clearly the calendar still shows “In 2 days”.

      Not sure what to try next, some help is highly appreciated.

      Thanks,

      Tom

      alt text

      My config:

      module: "calendar",
      header: "Calendar",
      position: "top_right",
      config: {
      	fade: true,
      	fadePoint: 0.75,
      	colored: true,
      	timeFormat: "absolute",
      	dateFormat: "D MMM",
      	fullDayEventDateFormat: "D MMM",
      	urgency: 0,
      	getRelative: 0,
      	nextDaysRelative: true,
      	calendars: [
      		{
      			// Private
      			symbol: "chevron-circle-right",
      			color: "#ffcc00",
      			url: "https://calendar.google.com/calendar/ical/xxx/basic.ics"
      		},
      		{
      			// Birthdays
      			symbol: "grin-alt",
      			color: "#9966cc",
      			url: "https://calendar.google.com/calendar/ical/yyy/basic.ics"
      		},
      		{
      			// Work
      			symbol: "dot-circle",
      			color: "#3366ff",
      			url: "https://calendar.google.com/calendar/ical/zzz/basic.ics"
      		}
      		]
      	}
      
      
      1 Reply Last reply Reply Quote 0
      • BKeyport
        BKeyport Module Developer last edited by

        https://docs.magicmirror.builders/modules/calendar.html#configuration-options

        Look into getRelative, and urgency options.

        1 Reply Last reply Reply Quote 0
        • T
          TomJC70 last edited by TomJC70

          Both are set to 0 and from my understanding this should mean I see absolute dates only.

          edit:
          I did some more testing and the problem only occurs with full day events.

          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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy