1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/test/core_ext
Sean Griffin 1fb337680e Don't blank pad day of the month when formatting dates
We are currently using `%e` which adds a space before the result if the
digit is a single number. This leads to strings like `February  2, 2016`
which is undesireable. I've opted to replace with 0 padding instead of
removing the padding entirely, to preserve compatibility for those
relying on the fact that the width is constant, and to be consistent
with time formatting.

Fixes #25251.
2016-06-02 11:48:34 -04:00
..
array Support for unified Integer class in Ruby 2.4+ 2016-05-18 22:04:22 -07:00
class Remove .superclass_delegating_accessor. Refer #14271 2015-05-24 12:15:22 +05:30
digest Move uuid_v5 and uuid_v3 to Digest::UUID 2014-07-15 19:51:33 -03:00
hash Restore Hash#transform_keys behavior to always return a Hash instance 2016-04-12 10:49:07 +02:00
kernel Move test teardown into ensure block. 2014-06-17 20:57:02 +08:00
module Fix thread_mattr_accessor thread-local variable naming 2016-03-11 06:54:00 -05:00
object Support for unified Integer class in Ruby 2.4+ 2016-05-18 22:04:22 -07:00
bigdecimal_test.rb Remove BigDecimal#to_d 2014-02-01 10:45:57 -08:00
class_test.rb
date_and_time_behavior.rb Add #on_weekday? method to Date, Time, and DateTime. 2016-02-15 18:16:51 +05:30
date_and_time_compatibility_test.rb Make getlocal and getutc always return instances of Time 2016-04-23 19:34:54 +01:00
date_ext_test.rb Don't blank pad day of the month when formatting dates 2016-06-02 11:48:34 -04:00
date_time_ext_test.rb Fix tests when preserving timezones 2016-05-05 05:07:58 +01:00
duration_test.rb Support for unified Integer class in Ruby 2.4+ 2016-05-18 22:04:22 -07:00
enumerable_test.rb Fix initial value effects for sum along to ruby 2.4 2016-04-30 18:33:39 -07:00
file_test.rb Return value of yielded block in File.atomic_write 2015-01-28 00:40:25 -07:00
hash_ext_test.rb Support for unified Integer class in Ruby 2.4+ 2016-05-18 22:04:22 -07:00
integer_ext_test.rb remove warning from integer ext test 2015-05-14 23:56:10 +09:00
kernel_test.rb Remove debugger support 2015-01-04 15:54:22 -03:00
load_error_test.rb Deprecate MissingSourceFile in favor of LoadError. 2015-01-02 19:44:39 -03:00
marshal_test.rb Fix marshal with autoloading for nested class/module 2016-03-28 23:06:51 +09:00
module_test.rb Remove duplicated test_ prefix [ci skip] 2016-03-02 05:58:29 +09:00
name_error_test.rb Prefer assert_raise instead of flunk + rescue to test for exceptions 2013-12-19 09:20:51 -02:00
numeric_ext_test.rb Support for unified Integer class in Ruby 2.4+ 2016-05-18 22:04:22 -07:00
range_ext_test.rb Fix - to_s(:db) on Numeric range 2015-12-29 17:03:36 +05:30
regexp_ext_test.rb
secure_random_test.rb Test files should be named *_test.rb to be executed via rake task 2015-03-20 17:27:38 +09:00
string_ext_test.rb Support for unified Integer class in Ruby 2.4+ 2016-05-18 22:04:22 -07:00
time_ext_test.rb Change Time#sec_fraction to use subsec 2016-04-23 19:11:34 +01:00
time_with_zone_test.rb Make getlocal and getutc always return instances of Time 2016-04-23 19:34:54 +01:00
uri_ext_test.rb Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 onwards. 2015-02-03 20:51:40 +05:30