Do you have a "moment"



  • 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


  • Moderator

    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



  • @yawns
    Ok, thanks yawns



  • This post is deleted!

Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.