From: Tomas Matousek Date: 2009-12-02T03:53:46+09:00 Subject: [ruby-core:26980] [Bug #2417] Time.asctime/ctime output differs from 1.8 Bug #2417: Time.asctime/ctime output differs from 1.8 http://redmine.ruby-lang.org/issues/show/2417 Author: Tomas Matousek Status: Open, Priority: Normal ruby -v: 1.9.1p129 >ruby -v -e'puts Time.now.asctime' ruby 1.8.6 (2009-03-31 patchlevel 368) [i386-mingw32] Tue Dec 01 10:48:45 2009 >ruby19 -v -e'puts Time.now.asctime' ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mswin32] Tue Dec 1 10:48:49 2009 The difference is in the padding of days. 1.9 uses space while 1.8 uses '0'. I find the 1.8 behavior better and the change in 1.9 unnecesary. Is it intentional? ---------------------------------------- http://redmine.ruby-lang.org