Florian Gross <flgr / ccan.de> wrote: > > Thanks again for your help. I am hoping I can get a proof-of-concept > > replacement for dot.kde.org up some time in the distant future. If > > it's successful, this would be another high profile site running on > > Ruby. > > That would indeed be very nice. I'm looking forward to this. :) I guess I might as well ask you this here. :-) Any idea why the second one fails: > DateTime.strptime('2000-09-28 05:23:01 -0400', '%F %T %z').strftime('%s') => "970132981" > DateTime.strptime('970132981', '%s').strftime('%s') ArgumentError: invalid date from /usr/lib/ruby/1.8/date.rb:485:in `new_with_hash' from /usr/lib/ruby/1.8/date.rb:495:in `strptime' from (irb):31 Thanks! Navin.