reddavis / mephisto forked from halorgium/mephisto
- Source
- Commits
- Network (36)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
ce15790
mephisto / README
| ce15790a » | reddavis | 2008-11-16 | 1 | = Embedit Support | |
| 2 | |||||
| 3 | I've quickly added Embedit support in Mephisto. All you need is to surround your url with | ||||
| 4 | |||||
| 5 | <embedit> --Url Goes Here-- </embedit> | ||||
| 6 | |||||
| 7 | If you don't know what Embedit is, go check out http://embedit.me. | ||||
| 8 | |||||
| 9 | |||||
| 10 | |||||
| 269c6d43 » | technoweenie | 2006-08-12 | 11 | = Installation | |
| 12 | |||||
| 13 | See public/install.html for setup instructions. | ||||
| 14 | |||||
| 15 | = Timezones | ||||
| 16 | |||||
| 17 | You MUST export the environment variable TZ=UTC, or else the article dates | ||||
| 5f48cd9d » | technoweenie | 2008-02-02 | 18 | and times will be invalid. | |
| 269c6d43 » | technoweenie | 2006-08-12 | 19 | ||
| 20 | This would not be needed if rails used UTC for everything, but | ||||
| 21 | unfortunately it doesn't... eg: action_view/helpers/date_helper.rb uses | ||||
| 22 | Time::now instead of Timer::now.utc, and Time::mktime instead of | ||||
| 23 | Time::utc. | ||||
| 24 | |||||
| 25 | XXX oh, we can't depend on the rails helpers at all, because they don't | ||||
| 26 | translate the time from UTC (assuming the TZ env var is correctly | ||||
| 27 | set) to site time, you've to roll our own, or monkey patch rails :/ | ||||
| 28 | |||||
| 29 | = License | ||||
| 30 | |||||
| 31 | Mephisto is distributed under the same license as Ruby on Rails. See | ||||
| 5f48cd9d » | technoweenie | 2008-02-02 | 32 | http://www.opensource.org/licenses/mit-license.php | |

