lib/ext/calendars/time.rb in twitter_cldr-1.0.1 vs lib/ext/calendars/time.rb in twitter_cldr-1.1.0
- old
+ new
@@ -1,6 +1,9 @@
# encoding: UTF-8
+# Copyright 2012 Twitter, Inc
+# http://www.apache.org/licenses/LICENSE-2.0
+
class Time
def localize(locale = TwitterCldr.get_locale)
TwitterCldr::LocalizedTime.new(self, locale)
end
end
\ No newline at end of file