advocaite/Travianx — comment on commit 0149000b8c15ed07a72881ded4a8fdfecf1a9033
File:  line 0
By DPStokes:

What are you trying to achieve with the "Edit this yourself" section, I'm presuming it's to offset the time for your timezone?

Hard-coding this is not a good idea, as every time Generator.php is updated and sync'd, you have to edit the file again.

I'd suggest setting the correct server timezone in config.php ( using, as an example: date_default_timezone_set('Pacific/Auckland'); ) then have a per user setting to add/subtract their selected timezone differential to the number.