From: Daniel Bretoi Date: 2003-05-29T05:13:22+09:00 Subject: *arr question 1.67 - 1.68 version difference Hi, on a machine running ruby 1.6.7 I get this error message when trying to run: [~]$ /qa/cadqa/dev/bin/grid_acct.rb /qa/cadqa/dev/bin/grid_acct.rb:53:in `mktime': no implicit conversion from string (TypeError) from /qa/cadqa/dev/bin/grid_acct.rb:53:in `ascset' from /qa/cadqa/dev/bin/grid_acct.rb:64:in `readStamp' from /qa/cadqa/dev/bin/grid_acct.rb:79:in `initialize' from /qa/cadqa/dev/bin/grid_acct.rb:130:in `new' from /qa/cadqa/dev/bin/grid_acct.rb:130 [daniel@ceuta]--(13:08:28) [~]$ ruby -v ruby 1.6.7 (2002-03-19) [i386-linux] However, on a machine running ruby 1.6.8 I don't. Is this a version difference which is causing this? The code for the function is below: 48 class Time 49 def Time.ascset(str) 50 require 'parsedate' 51 time = ParseDate.parsedate str 52 time.pop; # we don't want this last arg 53 mktime(*time) 54 end How can I get the same functionality in 1.6.7 if that is the issue? db -- May 28 Dionne quintuplets born, 1934 May 28* Rogation Sunday May 28 First meeting of COBOL definition cte. (eventually CODASYL), 1959 May 28 Mothers Day in Central African Republic