[#30549] [ANN] Ruby 1.8.6 has been released — "Akinori MUSHA" <knu@...>

 Ruby 1.8.6 をリリースしました。

14 messages 2007/03/12

[#30553] help: lib/shell for ruby 1.9 — keiju@... (Keiju ISHITSUKA)

けいじゅ@いしつかです.

13 messages 2007/03/13
[#30585] Re: help: lib/shell for ruby 1.9 — Yukihiro Matsumoto <matz@...> 2007/03/15

まつもと ゆきひろです

[#30587] Re: help: lib/shell for ruby 1.9 — keiju@... (石塚圭樹) 2007/03/15

けいじゅ@いしつかです.

[#30588] Re: help: lib/shell for ruby 1.9 — Yukihiro Matsumoto <matz@...> 2007/03/15

まつもと ゆきひろです

[ruby-dev:30488] Re: Time#to_s format

From: "Akinori MUSHA" <knu@...>
Date: 2007-03-05 10:27:24 UTC
List: ruby-dev #30488
At Mon, 5 Mar 2007 18:44:19 +0900,
OHARA Shigeki wrote:
> Ruby 1.8.6 から Time#to_s の形式が
> RFC 2822 準拠に変更になるようなのですが、
> この形式が間違っているように思います。
(snip)
> RFC 2822 の 3.3. Date and Time Specification によると、
>
> date            =       day month year
>
> が正しいようです。

 確かにその通りですね。修正します。

% /usr/local/bin/ruby -v -rtime -e 'Time.rfc2822(Time.now.to_s)'
ruby 1.8.6 (2007-03-05 patchlevel 0) [i686-darwin8.8.3]
/usr/local/lib/ruby/1.8/time.rb:296:in `rfc2822': not RFC 2822 compliant date: "Mon, Mar 05 2007 19:25:08 +0900" (ArgumentError)
        from -e:1

 ちょっと情けない…。

--
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"Different eyes see different things,
    Different hearts beat on different strings --
       But there are times for you and me when all such things agree"

In This Thread