date_output 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/lib/date_output/version.rb +1 -1
- data/lib/date_output.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -32,9 +32,9 @@ In your view use the helpers to output the formatted dates.
|
|
32
32
|
|
33
33
|
self.short_date(date) #=> Thu 28th Mar 13
|
34
34
|
|
35
|
-
You can also pass in some options to to customise the output.
|
35
|
+
You can also pass in some options to to customise the output. These are passes in as a hash. For example:
|
36
36
|
|
37
|
-
self.numbered_date_with_time(date,
|
37
|
+
self.numbered_date_with_time(date, {:seperator => "-"}) #=> 28-03-2013 14:42pm
|
38
38
|
|
39
39
|
Current options are:
|
40
40
|
|
data/lib/date_output/version.rb
CHANGED
data/lib/date_output.rb
CHANGED