pterodactyl / panel

Pterodactyl® is a free, open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
https://pterodactyl.io
Other
6.81k stars 1.74k forks source link

Timezone #4735

Closed MrPiano5454 closed 1 year ago

MrPiano5454 commented 1 year ago

Current Behavior

Good morning, My machine is hosted in France and I live in France so UTC+2 At home when it is 8 p.m. on my pterodactyl panel it is 6 p.m. And when I look for how to change the time so that it can show me the correct time, I can't find anything

Expected Behavior

Let it set the right time for where I live

Steps to Reproduce

Normally install Pterodactyl and make a Minecraft server

Panel Version

1.10.4

Wings Version

1.7.2

Games and/or Eggs Affected

Minecraft (paper)

Docker Image

ghrc.io/pterodactul/yolks:java_17

Error Logs

https://ptero.co/onelusohat

Is there an existing issue for this?

Jcodeerd commented 1 year ago

Its in the wings configuration file

FoksVHox commented 1 year ago

This doesn't seem like an issue with the software, rather an issue with the configuration of it.

Please make sure that you've set the APP_TIMEZONE to Europe/Paris in your .env file of the panel. To set the time of Wings, you need to set the Timezone, which defaults to UTC, if wings can't detect a timezone.

MrPiano5454 commented 1 year ago

Capture

I checked in the .env file that I had correctly put Europe/Paris and it is well put, I am attaching the screenshot of what I see Maybe there are other files to edit?

Sharktheone commented 1 year ago

I think the issue you describe has nothing to to with the panel configuration. As Jcodeerd wrote already you have to change your Timezone in your wings configuration and not in the panel, when your servers (logging in things like a minecraft server) are showing the wrong time. So you need to change the timezone option in the /etc/pterodactyl/config.yml file. For you it would look like this: image

MrPiano5454 commented 1 year ago

I just restarted everything and it's on time Thank you very much

HELPY4 commented 6 months ago

I think the issue you describe has nothing to to with the panel configuration. As Jcodeerd wrote already you have to change your Timezone in your wings configuration and not in the panel, when your servers (logging in things like a minecraft server) are showing the wrong time. So you need to change the timezone option in the /etc/pterodactyl/config.yml file. For you it would look like this: image

Thanks! It worked!