Add time adjustment #10
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is there already a request similar to this?
What's your suggestion?
The site https://sunrisesunset.io/ does not update their data in real time, so maybe you could add a time adjustment setting to the config, so there could be added a custom amount of time, for example +2 hours to match real time,
as you can see here: https://sunrisesunset.io/search/denmark/ it says last update was 2 hours ago
RealTimeWeather only gets the sunrise and sunset times from the current day from sunrisesunset.io, not the current time. It gets the current time from the system clock of the server that it's running on and adjusts according to the timezone in the configuration.
Realistically, RealTimeWeather doesn't need to check the sunrise and sunset times every few seconds, and I'm working on moving API requests separate from the time update code soon, but it's ok if sunrisesunset.io hasn't been updated super recently.
I could add an option to offset the time, but you're better off just changing the timezone.
well then the plugin is not working correctly, im running the server locally developing it, the time in game says 05:02 but the time locally is 11:25,
and the ingame time dont seem to change at all
This issue was fixed with #12