@k-0 Of course they do. It is just a javascript function returning data that gets used by the nunjucks template.
This shortened and slightly more elegant if/else version should do the trick
today: (moment() < moment(this.config.switchTime, "HH:mm")) ? moment().format("dddd") : moment().add(1, "days").format("dddd")