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.

    Do you have a "moment"

    Scheduled Pinned Locked Moved Troubleshooting
    4 Posts 3 Posters 3.4k Views 3 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer
      last edited by

      This appears in the dev console on my machine under MM 2.1.1. It does NOT appear in my mirror under MM 2.1.0. Anyone want to shed some light on this for me?
      Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info. Arguments: [0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 7:00 PM EDT on April 17, Z, _f: undefined, _strict: undefined, _locale: [object Object] Error at Function.createFromInputFallback (http://localhost:8080/vendor/node_modules/moment/min/moment-with-locales.js:314:94) at configFromString (http://localhost:8080/vendor/node_modules/moment/min/moment-with-locales.js:2172:11) at configFromInput (http://localhost:8080/vendor/node_modules/moment/min/moment-with-locales.js:2541:9) at prepareConfig (http://localhost:8080/vendor/node_modules/moment/min/moment-with-locales.js:2524:9) at createFromConfig (http://localhost:8080/vendor/node_modules/moment/min/moment-with-locales.js:2491:40) at createLocalOrUTC (http://localhost:8080/vendor/node_modules/moment/min/moment-with-locales.js:2578:12) at createLocal (http://localhost:8080/vendor/node_modules/moment/min/moment-with-locales.js:2582:12) at hooks (http://localhost:8080/vendor/node_modules/moment/min/moment-with-locales.js:10:25) at Class.processWeather (http://localhost:8080/modules/MMM-WunderGround//MMM-WunderGround.js:869:10) at Class.socketNotificationReceived (http://localhost:8080/modules/MMM-WunderGround//MMM-WunderGround.js:1217:18) warn @ :8080/vendor/node_modules/moment/min/moment-with-locales.js:287

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • yawnsY Offline
        yawns Moderator
        last edited by

        Just guessing:
        With the latest magic mirror update we also received an update for moment.js which is used to do time and date calculations and formatting.
        Maybe the latest moment.js marked some function as deprecated and this function is used inside MMM-WunderGround

        Mykle1M 1 Reply Last reply Reply Quote 1
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @yawns
          last edited by

          @yawns
          Ok, thanks yawns

          Create a working config
          How to add modules

          johnnyboyJ 1 Reply Last reply Reply Quote 0
          • johnnyboyJ Offline
            johnnyboy @Mykle1
            last edited by johnnyboy

            This post is deleted!
            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              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