Currently, I use Carbon in my plugin to display dates (https://github.com/briannesbitt/Carbon). Carbon extends Datetime class and Datetime need a Timezone to display dates correctly (ex : "Europe/Paris" or "UTC").
But I have not found where I can set the TimeZone in Maniacontrol. So I set the timezone in the load method of my plugin class like that :
Code: Select all
public function load(ManiaControl $maniaControl) {
date_default_timezone_set ('Europe/Paris');
}
Do you plan to implement this parameter in a future release ?
Thank you for the answer
Marlburrow