public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
commit  e48d1c412ec53cee3f57f84b048d386f25c5d148
tree    0d98be3b7e71bd0fc634eda51eb4333bb07c74f4
parent  9a46c5783ec1fa239ef87cc5b0eac7ed143569ae
mephisto / README
100644 22 lines (15 sloc) 0.736 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
= Installation
 
See public/install.html for setup instructions.
 
= Timezones
 
You MUST export the environment variable TZ=UTC, or else the article dates
and times will be fubar.
 
This would not be needed if rails used UTC for everything, but
unfortunately it doesn't... eg: action_view/helpers/date_helper.rb uses
Time::now instead of Timer::now.utc, and Time::mktime instead of
Time::utc.
 
XXX oh, we can't depend on the rails helpers at all, because they don't
    translate the time from UTC (assuming the TZ env var is correctly
    set) to site time, you've to roll our own, or monkey patch rails :/
 
= License
 
Mephisto is distributed under the same license as Ruby on Rails. See
http://www.opensource.org/licenses/mit-license.php