Read the statement by Michael Teeuw here.
MMM-NBA
-
The module works great and and accurate. The only problem is the title says 2021. Any ideas on how to change it to reflect 2022 going forward. Any help would be appreciated. I have looked in all the files and just dont how to fix.
-
Change date setting in file …/modules/MMM-NBA/node_helper.js
Change from y: json.season.year - 1 TO y: json.season.year - 0
.
.
const details = {
w: json.day.dat,
y: json.season.year - 1,
t: self.seasonTypeMapping [json.season.type],
.
.
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