date_output 1.0.1 → 1.0.2
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 +12 -12
- metadata +1 -1
data/lib/date_output/version.rb
CHANGED
@@ -1,28 +1,28 @@
|
|
1
1
|
module DateOutput
|
2
2
|
module ViewHelpers
|
3
3
|
|
4
|
-
def full_date_with_time(date)
|
5
|
-
DateOutput.full_date_with_time(date)
|
4
|
+
def full_date_with_time(date,options)
|
5
|
+
DateOutput.full_date_with_time(date,options)
|
6
6
|
end
|
7
7
|
|
8
|
-
def short_date_with_time(date)
|
9
|
-
DateOutput.short_date_with_time(date)
|
8
|
+
def short_date_with_time(date,options)
|
9
|
+
DateOutput.short_date_with_time(date,options)
|
10
10
|
end
|
11
11
|
|
12
|
-
def numbered_date_with_time(date)
|
13
|
-
DateOutput.numbered_date_with_time(date)
|
12
|
+
def numbered_date_with_time(date,options)
|
13
|
+
DateOutput.numbered_date_with_time(date,options)
|
14
14
|
end
|
15
15
|
|
16
|
-
def numbered_date(date)
|
17
|
-
DateOutput.numbered_date(date)
|
16
|
+
def numbered_date(date,options)
|
17
|
+
DateOutput.numbered_date(date,options)
|
18
18
|
end
|
19
19
|
|
20
|
-
def full_date(date)
|
21
|
-
DateOutput.full_date(date)
|
20
|
+
def full_date(date,options)
|
21
|
+
DateOutput.full_date(date,options)
|
22
22
|
end
|
23
23
|
|
24
|
-
def short_date(date)
|
25
|
-
DateOutput.short_date(date)
|
24
|
+
def short_date(date,options)
|
25
|
+
DateOutput.short_date(date,options)
|
26
26
|
end
|
27
27
|
|
28
28
|
end
|