GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — (feature) calendar display options by dberntsson · Pull Request #4348 · MagicMirrorOrg/MagicMirror

Conversation

@dberntsson

@dberntsson dberntsson commented Nov 17, 2026 •
edited by KristjanESPERANTO
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
  1. Base your pull requests against the develop branch.

Yes

  1. Include these infos in the description:
  • Does the pull request solve a related issue?

No

  • What does the pull request accomplish? Use a list if needed.

This pull request adds calendar display options so users can choose whether event dates and times appear in the calendar.

  • Adds displayEventDate and displayEventTime configuration options, both enabled by default.
  • Applies the options in absolute, relative, and date-header display modes, including multi-day all-day events.
  • Documents the new options and adds E2E coverage for the display combinations.
  • Updates the E2E setup so its dynamic app import works with Windows paths.
  • If it includes major visual changes please add screenshots.

No

  1. Please run node --run lint:fix before submitting so that style issues are fixed.

Yes

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
dberntsson added 3 commits November 17, 2026 19:25
@dberntsson
feat(calendar): add date and time display controls
98b87d8
@dberntsson
test(e2e): reset app config between runs
0652a3d
@dberntsson
Update README.md
bc67427
@KristjanESPERANTO

KristjanESPERANTO commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the PR! I can roughly see what you’re trying to achieve. But could you please describe your specific use case? Before/after screenshots may also be helpful.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dberntsson

dberntsson commented Nov 18, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Author

Thanks for the feedback and the request of making the PR more motivated/understandable.

My use-case is that I have a calendar of full day events like theme days, holidays and flag days.
I have todays events in position:top_center with the following configuration:

  {
    module: "calendar",
    position: "top_center", // This can be any of the regions. Best results in left or right regions.
    config: {
      maximumNumberOfDays: 1,
      broadcastPastEvents: true,
      maxTitleLength: 50,
      timeFormat: "absolute",
      showEnd: false,
      displaySymbol: false,
      calendars: [
        {
          url: "https://blabla.com/bla.ics",
        },
      ],
    },

That gives me a screen like this:
image

I don't want the date to be presented, since I know it's todays events only.
My only workaround in the current production code is adding the collowing configuration:

      fullDayEventDateFormat: "[ ]",

which will change the dateformatter into something that won't be presented
image

I thought some new show*-configuration was a lot better and clearer, also having the capability to separate date from time.

So I have a narrow use-case (timeFormat:absolute & maximumNumberOfDays:1) with a already existing "workaround" for fullDayEvents but I think the feature can be used in other use-cases aswell.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@samdev510

samdev510 commented Nov 18, 2026 •
edited by sdetweil
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

I think you would just use CSS to display:none; on the date column for that calendar instance, no config

.calendar .time.light {
        display: none;
}

there are multiple ways to select the calendar instance, not ALL

use the module_x_name selector module: entries from top of config.js , start with 0
in my test env, calendar is the 8th module: entry , so x is 7
pound sign on a css selector means id=, . means class, empty/no prefix means tag name (img, div, table...)

#module_7_calendar  .time.light {
        display: none;
}

or you can add an arbitrary string to the classes:"........." space separated list of string, this assigns that string in the class="..." on the module entry, and then you can use it to target(select) those elements

classes:"foo",
.foo  .time.light {
        display: none;
}
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sdetweil sdetweil mentioned this pull request Nov 18, 2026
Calendar: one failing feed hides events from all other feeds in the same module #4343
Open
3 of 4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@dberntsson @KristjanESPERANTO @samdev510
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.