date_output 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/date_output/version.rb +1 -1
- data/lib/date_output/view_helpers.rb +6 -6
- metadata +1 -1
data/lib/date_output/version.rb
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
module DateOutput
|
2
2
|
module ViewHelpers
|
3
3
|
|
4
|
-
def full_date_with_time(date,options)
|
4
|
+
def full_date_with_time(date,options={})
|
5
5
|
DateOutput.full_date_with_time(date,options)
|
6
6
|
end
|
7
7
|
|
8
|
-
def short_date_with_time(date,options)
|
8
|
+
def short_date_with_time(date,options={})
|
9
9
|
DateOutput.short_date_with_time(date,options)
|
10
10
|
end
|
11
11
|
|
12
|
-
def numbered_date_with_time(date,options)
|
12
|
+
def numbered_date_with_time(date,options={})
|
13
13
|
DateOutput.numbered_date_with_time(date,options)
|
14
14
|
end
|
15
15
|
|
16
|
-
def numbered_date(date,options)
|
16
|
+
def numbered_date(date,options={})
|
17
17
|
DateOutput.numbered_date(date,options)
|
18
18
|
end
|
19
19
|
|
20
|
-
def full_date(date,options)
|
20
|
+
def full_date(date,options={})
|
21
21
|
DateOutput.full_date(date,options)
|
22
22
|
end
|
23
23
|
|
24
|
-
def short_date(date,options)
|
24
|
+
def short_date(date,options={})
|
25
25
|
DateOutput.short_date(date,options)
|
26
26
|
end
|
27
27
|
|