On Thu, 2007-12-27 at 20:16 -0800, Bill Barnard wrote:
> I found the details regarding setting the timezone in
> app/models/radiant/config.rb which pointed me to
> http://api.rubyonrails.org/classes/TimeZone.html for details on TimeZone
> specification in Rails. For my installation I did:
> 
> $ ./script/console production
> >> Radiant::Config["local.timezone"] = "Pacific Time (US & Canada)"

I've been finding lots of little gems in the mailing list. Like what
should have been obvious... A better place than the console for setting
configuration data is, duh... in config/environment.rb. At the bottom I
put:

require 'radiant/config'
Radiant::Config["local.timezone"] = "Pacific Time (US & Canada)"

Bill
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to