From: Daniel He Date: 2010-05-11T21:34:32+09:00 Subject: Differences in Time v1.8.6 and 1.9.1 Hello, I wrote a ruby-script that used Time on a machine with v1.9.1. When I now try to use it on a machine with v1.8.6, the Time-part is acting up. It looks to me like the strftime-option gets ignored totally in 1.8.6. It should give me todays date + the number of the last hour ie '2010-05-11 13', if the time was 14:27 when the script ran, but it gives me either 'Tue May 11 ...' or 'Thu Jan 01 ... 1970'. On the 1.9.1 system it worked just fine, but it has never worked on the 1.8.6 system. Was there a major rewrite of Time between 1.8.6 and 1.9.1 or is my script just plain wrong? Attachments: http://www.ruby-forum.com/attachment/4720/snortdb_rubyforum.rb -- Posted via http://www.ruby-forum.com/.