Jump to content
  • 0

Flux CP TimeZone


Question

Posted

I have edited everything and anything with "Timezone" and I still can't get the time in my website correct. I have looked everywhere and found no help. Please tell me how to change my timezone in my website?

3 answers to this question

Recommended Posts

Posted (edited)

Oh.. i actually had no idea this config even existed @.@

'DateDefaultTimezone'                => null,                                        // The default timezone, consult the PHP manual for valid timezones: http://php.net/timezones (null for defaut system TZ)

Change your index.php back to how it was and set the default timezone in config/application.php instead.

 

I did do that. I have the time zone set in application.php and also in server.php, but still it doesn't change the time

 

Edit: Solved.

Edited by Phenex
  • Upvote 1
Posted

 date.timezone config in my php.ini is already set. in index.php all i found was this:



	// Set default timezone for entire app.
	$timezone = Flux::config('DateDefaultTimezone');
	if ($timezone && !@date_default_timezone_set($timezone)) {
		throw new Flux_Error("'$timezone' is not a valid timezone.  Consult http://php.net/timezones for a list of valid timezones.");

I put my time zone where it says 'DateDefaultTimezone' and nothing really worked.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...