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

Weekdays in standard calendar module

Scheduled Pinned Locked Moved Requests
2 Posts 1 Posters 1.0k Views 1 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.
  • L Offline
    lavolp3 Module Developer
    last edited by Oct 29, 2018, 8:53 AM

    Hi all!
    I’m using the standard calendar module and am looking for a way to show the next days as absolute week days.
    So, instead of the option “relative” which shows something like “in 2 days” I’d like to show " Wednesday" and the time.
    I can’t find it as an option in the module. Anyone got an idea?
    Thanks!

    How to troubleshoot modules
    MMM-soccer v2, MMM-AVStock

    L 1 Reply Last reply Oct 31, 2018, 2:40 PM Reply Quote 0
    • L Offline
      lavolp3 Module Developer @lavolp3
      last edited by Oct 31, 2018, 2:40 PM

      @lavolp3 OK, for those who are interested I have managed to implement it myself locally into calendar.js

      You can see that “urgency” dates are now shown as weekdays (in the first calendar) and not as relative ones. I have added a further variable “urgencyStyle” to choose between relative (“in xx days”) and absolute (“xday”) dates as soon as urgency hits.

      (0_1540996456699_1658f9a8-ad7c-4f8a-bb4a-e2bc0a6f4050-image.png

      Still working on the git workflow and creating a PR. Git is a monster :-)

      How to troubleshoot modules
      MMM-soccer v2, MMM-AVStock

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      1 / 1
      • First post
        1/2
        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