SuperKali / CustomBar

Custom Bar Plugin for PMMP and ALTAY 3.12.x
GNU General Public License v3.0
14 stars 9 forks source link

Timezone error #10

Closed ghost closed 7 years ago

ghost commented 7 years ago

I get this when i start the server and join it:

Notice: date_default_timezone_set(): Timezone ID 'UTC+3' is invalid in /storage/emulated/legacy/Genisys/plugins/CustomBar-master/src/CustomBar/Main.php on line 43

*UTC+3 is my timezone i think , my country is KSA (kingdom saudi arabia) .

TheNewHEROBRINEX commented 7 years ago

Try Asia/Riyadh as timezone

SuperKali commented 7 years ago

@mote166 try AST

ghost commented 7 years ago

Same error and the time isn't changing

SuperKali commented 7 years ago

Please send me your config

On Aug 22, 2017 11:48 AM, "mote166" notifications@github.com wrote:

Same error and the time isn't changing

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/SuperKali/CustomBar/issues/10#issuecomment-323976759, or mute the thread https://github.com/notifications/unsubscribe-auth/ASkl6gHM0KnpCfX9nBPw3moKQ1mFkNSgks5saqPTgaJpZM4O-Jp0 .

ghost commented 7 years ago

AST didn't work but Asia/Riyadh worked , thanks

ghost commented 7 years ago

Can u add "AM , PM" and make the time 12 hour format ?

SuperKali commented 7 years ago

Ok on to-do v1

ghost commented 7 years ago

Please do it fast it won't take much of ur time , thanks for this great plugin 👍

SuperKali commented 7 years ago

😊

SuperKali commented 7 years ago

@mote166 https://github.com/SuperKali/CustomBar/commit/90526ce3660d3ead59662e964190d138d976b593 time format added