Changeset 2814

Show
Ignore:
Timestamp:
11/14/08 19:24:42 (8 weeks ago)
Author:
rickc
Message:

Add reasonable defaults to a new install for date/time.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/htdocs/system/classes/installhandler.php

    r2786 r2814  
    561561        Options::set( 'comments_require_id', 1 ); 
    562562        Options::set( 'locale', $this->handler_vars['locale'] ); 
     563        Options::set('timezone', 'UTC'); 
     564        Options::set('dateformat', 'Y-m-d'); 
     565        Options::set('timeformat', 'g:i a'); 
     566 
    563567        // generate a random-ish number to use as the salt for 
    564568        // a SHA1 hash that will serve as the unique identifier for