In message <0G5W00M9VB35R7 / mta5.snfc21.pbi.net>
sent / qualitycode.com writes:

> I'm trying to work with dates as they appear in 
> email headers, but ParseDate and Time don't seem 
> to want to play with each other. First, since the 
> order of parameters is different, it's harder 
> than necessary to stuff a ParseDate result into a 
> Time.

....? What version of ruby and parsedate.rb do you use?


> ruby -vrparsedate -e 'p Time.local(*ParseDate.parsedate(Time.now.to_s)[0..-3])'
ruby 1.6.2 (2000-10-18) [i386-freebsdelf4.1]
Thu Dec 21 20:56:43 JST 2000
> head -2 /usr/local/lib/ruby/1.6/parsedate.rb 
# parsedate3.rb: Written by Tadayoshi Funaba 2000
# $Id: parsedate3.rb,v 1.2 2000-04-01 12:16:56+09 tadf Exp $


Hmm, my own environment is too old?


Timezone issue is not in my knowledge but....

Does Time.gm/utc/local/mktime now accept 10 arguments and get timezone
as 10th parameter?  On my hand, it raises an exception `ArgumentError:
argument out of range'.  Actually they recieve only 7 parameters and
7th parameter seems to be ignored....


-- 
kjana / os.xaxon.ne.jp                              December 21, 2000
Abstract should not be abstract.