From: Mark Lennon Date: 2011-11-03T15:44:56+09:00 Subject: strftime : possible bug Hi I'm using ruby 1.9.2 p290 It looks like strftime is inserting an extra space when using the following format "%a %e-%b-%Y" and the dayofmonth < 10 for a Date of 1-Jun-2011 eg date.strftime("%a %e-%b-%Y") => "Fri 1-Jun-2011" (2 spaces between Fri and 1) For a Date of 12-Jun-2011 the same code gives (correctly) "Fri 12-Jun-2011" Regards dukha -- Posted via http://www.ruby-forum.com/.