MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. todsandberg
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    T
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 0

    todsandberg

    @todsandberg

    0
    Reputation
    11
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    todsandberg Unfollow Follow

    Latest posts made by todsandberg

    • RE: Calendar Module: 46 minutes = "in 1 hour": How to change the way relative time is shown?

      @sdetweil said in Calendar Module: 46 minutes = "in 1 hour": How to change the way relative time is shown?:

      timeThreshold: {unit:minutes,limit:55},

      Thank you, I have tried your code and will keep trying to get it to work.

      posted in Troubleshooting
      T
      todsandberg
    • Calendar Module: 46 minutes = "in 1 hour": How to change the way relative time is shown?

      Appointment starts in X minutes [how can we adjust what is shown? and when it switches from hours to minutes]

      I would like to change magic mirror settings to show relative time is displayed in the calendar module.
      I have spent 1-2 hours trying things to solve this, seemingly simple, challenge, without a solution yet. Are you able to solve it?

      Example:

      • Current time is 11:43
      • Appointment at 12:30

      Current state:

      • Appointment starts in 1 hour (even though it is LESS than 1 hour)

      .
      Desired behavior:

      • Appointment starts in 47 minutes

      It seems like this moment setting holds the key, but I haven’t been able to get it to work. (or find the right file location (or setting)to change)
      moment.relativeTimeThreshold(‘s’, 40);

      “Bonus points” for a solution that shows relative time to work with minutes >60… (example: 90 minutes left or 1h 30m left)

      Any help is greatly appreciated!

      posted in Troubleshooting
      T
      todsandberg