date_output 1.0.9 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -3
- data/lib/date_output/version.rb +1 -1
- data/lib/date_output/view_helpers.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -34,11 +34,11 @@ In your view use the helpers to output the formatted dates.
|
|
34
34
|
|
35
35
|
long_date_no_day(date) #=> 28th March 2013
|
36
36
|
|
37
|
-
|
37
|
+
short_date_no_day(date) #=> 28th Mar 13
|
38
38
|
|
39
|
-
|
39
|
+
long_date_no_day_with_time(date) #=> 28th March 2013 14:42pm
|
40
40
|
|
41
|
-
|
41
|
+
short_date_no_day_with_time(date) #=> 28th Mar 13 14:42pm
|
42
42
|
|
43
43
|
You can also pass in some options to to customise the output. These are passes in as a hash. For example:
|
44
44
|
|
data/lib/date_output/version.rb
CHANGED