From cd1f2d7b0ed7a25ff1c298732f921ce6d6d86f73 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Thu, 27 Sep 2007 08:49:18 +0000 Subject: Date/Time/DateTime Ruby 1.9 compat git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7647 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activesupport/lib/active_support/core_ext/time/conversions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support/core_ext/time') diff --git a/activesupport/lib/active_support/core_ext/time/conversions.rb b/activesupport/lib/active_support/core_ext/time/conversions.rb index 742f71e0a6..c0bc8b4313 100644 --- a/activesupport/lib/active_support/core_ext/time/conversions.rb +++ b/activesupport/lib/active_support/core_ext/time/conversions.rb @@ -24,7 +24,7 @@ module ActiveSupport #:nodoc: if formatter.respond_to?(:call) formatter.call(self).to_s else - strftime(formatter).strip + strftime(formatter) end else to_default_s -- cgit v1.2.3