Skip to content
Browse files

Update README

  • Loading branch information...
1 parent 74a5f98 commit 8cb6e37529a8c516b330199fb571f78a2eeedb9d @camelpunch committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.rdoc
View
8 README.rdoc
@@ -3,7 +3,7 @@
Get and set dates as strings on ActiveRecord-like objects.
This gem is useful if you don't want to use Rails' standard date helpers and would rather
-set a text format for reading and writing dates.
+set a text format for reading and writing dates and datetimes.
== Usage
@@ -11,7 +11,7 @@ set a text format for reading and writing dates.
require 'ostruct'
require 'string_date_accessors'
- StringDateAccessors.format = '%d/%m/%y'
+ StringDateAccessors.date_format = '%d/%m/%y'
class Lady < OpenStruct
include StringDateAccessors
@@ -41,7 +41,7 @@ set a text format for reading and writing dates.
== Installation
-It's on gemcutter (gem install string_date_accessors).
+It's on gemcutter (gem install string_date_accessors). It requires active_support.
== Note on Patches/Pull Requests
@@ -56,4 +56,4 @@ It's on gemcutter (gem install string_date_accessors).
== Copyright
-Copyright (c) 2009 Andrew Bruce. See LICENSE for details.
+Copyright (c) 2010 Andrew Bruce. See LICENSE for details.

0 comments on commit 8cb6e37

Please sign in to comment.
Something went wrong with that request. Please try again.