hyperdefined / TimeBar

See the world's time as a bossbar.
https://www.spigotmc.org/resources/timebar.90179/
GNU General Public License v3.0
11 stars 1 forks source link

{DAY} uses the wrong value. #33

Closed 4ebyrek99 closed 1 year ago

4ebyrek99 commented 1 year ago

I made my translation for the days of the week and I have an error, an example is a day that is Wednesday in realisticSeasons, and {DAY} takes Saturday. Is it just my problem or not?

hyperdefined commented 1 year ago

Can you show me your realisticseasons.yml config from TimeBar?

4ebyrek99 commented 1 year ago

realisticseasons.zip

4ebyrek99 commented 1 year ago

Screenshot_2

hyperdefined commented 1 year ago

I believe this is some inconsistencies with how I get the date from RealisticSeasons. I'll try to write a fix and send a test version of the plugin.

hyperdefined commented 1 year ago

Looking further into this, it looks like RS calculates day and month differently than I thought. I will have to ask the developer to add an easy way to get the day of week and month.

4ebyrek99 commented 1 year ago

Thanks for the info, I will wait for the update.

hyperdefined commented 1 year ago

This has been fixed on the latest version: https://github.com/hyperdefined/TimeBar/releases/tag/1.3.6

Please make sure to update RealisticSeasons to version 10.5.1, as it added new API.