Read the statement by Michael Teeuw here.
"Invalid Date" appears in Weather module.  MM v2.29.0
- 
 @reilley this was with the config.js.sample copied as another units to imperial 
 copy/paste your config over the two weather module entries
 add my apikeythen # use env var to point to other config file export MMM_CONFIG_FILE=config/name_of_file.js npm start
- 
 @reilley technically you don’t need apiVersion or weatherEndpoint, as those are the defaults. 
- 
 @reilley that time is the sunrise or sunset time, sunrise is next, time is correct(in my display) 
- 
 @sdetweil said in "Invalid Date" appears in Weather module. MM v2.29.0: @reilley I copied your config and used my apikey 
 no other changes (well I wrapped your config in code block to keep the quotes correct for copy/paste) So my code worked for you and the only change was the API key? This key worked two days ago, so not sure what’s happening here. 
- 
 @reilley said in "Invalid Date" appears in Weather module. MM v2.29.0: So my code worked for you and the only change was the API key? correct 
- 
 @sdetweil said in "Invalid Date" appears in Weather module. MM v2.29.0: @reilley said in "Invalid Date" appears in Weather module. MM v2.29.0: So my code worked for you and the only change was the API key? correct That’s nuts. Why would an API key work two days ago and not today? Seems like maybe there’s a configuration problem elsewhere but I not sure where it would be since I made no changes to weather.js or other .js files associated with the Weather module. 
- 
 @reilley I don’t know… try my approach 
 docd ~/MagicMirror/config cp config.js.sample testcfg.js cd ..then edit the testcfg.js and paste your weather info from config.js here 
 then change the units to imperial
 save
 then on the terminal windowexport MM_CONFIG_FILE=config/testcfg.js npm start
- 
 @sdetweil - nope, same result 
- 
 @reilley ok, next thing weather is done all in browser, 
 on the MagicMirror screen ctrl-shift-i to
 open the developer window, select the console tab,
 put wea in the filter fieldlook for any messages 
- 
 @reilley - oh, I think I know what’s wrong now. 
