There was an error while loading. Please reload this page.
1 parent e413712 commit 83a2cffCopy full SHA for 83a2cff
lib/time_diff.rb
@@ -4,7 +4,7 @@
4
5
class Time
6
def self.diff(start_date, end_date, format_string='%y, %M, %w, %d and %h:%m:%s')
7
- #I18n.load_path += Dir.glob("lib/*.yml")
+ I18n.load_path += Dir.glob("lib/*.yml")
8
start_time = start_date.to_time if start_date.respond_to?(:to_time)
9
end_time = end_date.to_time if end_date.respond_to?(:to_time)
10
distance_in_seconds = ((end_time - start_time).abs).round
0 commit comments