When using an incorrect timezone with command variables like $(time), $(countdown), $(countup) - they (or at least $(countup) does) still link to the old timezone list at https://docs.nightbot.tv/commands/variables/time#timezones instead of the current https://docs.nightbot.tv/variables/time#timezones page.
Bug Report: Incorrect link in error message
3 replies
@Scarlet Owl Hmm, I am using $(time), $(countup), and $(countdown) for a long time, and still didn't observe this glitch. I think we should make a custom output for this case.
!addcom -cd=5 !time $(eval time = `$(time $(query) "MMMM Do YYYY, h:mm:ss a z [GMT]Z")`; if ( time === `Invalid timezone specified. For a list of timezones, check https://docs.nightbot.tv/commands/variables/time#timezones` ) { `Invalid timezone specified. For a list of timezones, check https://docs.nightbot.tv/variables/time#timezones` } else { time })