TheCommieAxolotl / BetterDiscord-Stuff

BetterDiscord Plugins and Themes
https://discord.gg/5BSWtSM3XU
MIT License
115 stars 293 forks source link

[Bug] The timezone plugin is showing times way in the future #65

Closed corysimmons closed 7 months ago

corysimmons commented 7 months ago

Addon

Timezone

What happened?

I installed the plugin, set a friend's timezone to 0100 (and +0100, and +100) and it shows the time as a really distant future.

image


I realized as I was posting this that maybe it was just expecting a single int like 1 as the offset instead of the full UTC offset and that fixed it. 😅 Still reporting as the tooltips and such have placeholders like 0100 implying that's the format you should use.

Maybe something like

<label>
  <span>UTC Offset</span>
  <input type="number" min="-12" max="14" step="1" name="utc-offset">
</label>

might be better to ensure no one gets confused like I did.

What Discord version do you have this issue on?

Stable

Logs

No response

Code of Conduct

TheCommieAxolotl commented 7 months ago

Closed as this is not an actual bug and the placeholder already reads -5.