Jump to content
  • 0

Flux CP TimeZone


Dori

Question


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  332
  • Reputation:   15
  • Joined:  12/11/11
  • Last Seen:  

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?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  332
  • Reputation:   15
  • Joined:  12/11/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  332
  • Reputation:   15
  • Joined:  12/11/11
  • Last Seen:  

 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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  197
  • Reputation:   13
  • Joined:  05/14/12
  • Last Seen:  

^^ congrats anyway sorry for the late reply on skype too busy

Link to comment
Share on other sites

×
×
  • Create New...