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

Any plan to replace "request" and "moment"?

Scheduled Pinned Locked Moved Unsolved Feature Requests
61 Posts 8 Posters 22.7k Views 8 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 @mumblebaj
    last edited by Sep 5, 2021, 12:35 PM

    @mumblebaj don’t copy the file to the root of your module. just use it from the linstalled location.

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    M 1 Reply Last reply Sep 5, 2021, 12:39 PM Reply Quote 0
    • M Offline
      mumblebaj Module Developer @sdetweil
      last edited by mumblebaj Sep 5, 2021, 12:57 PM Sep 5, 2021, 12:39 PM

      @sdetweil I have now found it in the /node_modules/luxon/build/global

      I should have searched some more. :beaming_face_with_smiling_eyes:
      But, yes, you are correct. You can just point to that location.

      Check out my modules at: https://github.com/mumblebaj?tab=repositories

      B 1 Reply Last reply Sep 5, 2021, 8:26 PM Reply Quote 1
      • B Offline
        BKeyport Module Developer @mumblebaj
        last edited by Sep 5, 2021, 8:26 PM

        @mumblebaj Yeah, I got irritated enough that it wasn’t working I realized I was being a total idiot and not pointing at the JS correctly. Why the hell it’s buried so deep, well…

        The "E" in "Javascript" stands for "Easy"

        S 1 Reply Last reply Sep 5, 2021, 9:07 PM Reply Quote 0
        • S Away
          sdetweil @BKeyport
          last edited by sdetweil Sep 5, 2021, 9:08 PM Sep 5, 2021, 9:07 PM

          @bkeyport

          why is it buried so deep?

          cause everybody does their own thing

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          B 1 Reply Last reply Sep 5, 2021, 10:03 PM Reply Quote 0
          • B Offline
            BKeyport Module Developer @sdetweil
            last edited by BKeyport Sep 5, 2021, 10:05 PM Sep 5, 2021, 10:03 PM

            @sdetweil heh.

            Now, I’m down to the javascript exploding bug. A <= B == Crash. 😢

            Oh well. Shelved.

            I’ll tackle it when/if the main switches.

            The "E" in "Javascript" stands for "Easy"

            M 2 Replies Last reply Sep 6, 2021, 3:05 PM Reply Quote 0
            • M Offline
              mumblebaj Module Developer @BKeyport
              last edited by Sep 6, 2021, 3:05 PM

              @bkeyport You doing date comparison?

              Check out my modules at: https://github.com/mumblebaj?tab=repositories

              B 1 Reply Last reply Sep 6, 2021, 8:05 PM Reply Quote 0
              • M Offline
                mumblebaj Module Developer @BKeyport
                last edited by Sep 6, 2021, 3:36 PM

                @bkeyport Can you adapt the following and see if it works for you?

                var startDate = DateTime.fromISO("2021-09-06T17:22:49.916+02:00");
                var someDate = DateTime.fromISO("2021-03-06T17:22:49.916+02:00");
                var result = startDate.startOf("day") <= someDate.startOf("day");
                console.log("Date Comparison Result: ", result) // => true;
                

                Check out my modules at: https://github.com/mumblebaj?tab=repositories

                1 Reply Last reply Reply Quote 0
                • B Offline
                  BKeyport Module Developer @mumblebaj
                  last edited by Sep 6, 2021, 8:05 PM

                  @mumblebaj I’ll play with it later, We’ve hijacked the thread enough.

                  The "E" in "Javascript" stands for "Easy"

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 3
                  • 4
                  • 5
                  • 6
                  • 7
                  • 6 / 7
                  6 / 7
                  • First post
                    58/61
                    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