[#3193] Re: Matrix — keiju@...

けいじゅ@今はフリー(^^;;;です.

67 messages 1997/06/30
[#3194] Re: Matrix — shugo@... (maeda shugo) 1997/06/30

前田です。

[#3195] Re: Matrix — matz@... (Yukihiro Matsumoto) 1997/06/30

まつもと ゆきひろです

[#3220] Re: Matrix — keiju@... (石塚圭樹 ) 1997/07/01

けいじゅ@今はフリー(^^;;;です.

[#3222] Re: Matrix — matz@... (Yukihiro Matsumoto) 1997/07/01

まつもと ゆきひろです

[#3224] Re: Matrix — keiju@... (石塚圭樹 ) 1997/07/01

けいじゅ@今はフリー(^^;;;です.

[#3229] Re: Matrix — matz@... (Yukihiro Matsumoto) 1997/07/02

まつもと ゆきひろです

[#3254] Ver 1.1 [Re: Matrix] — keiju@... (石塚圭樹 ) 1997/07/02

けいじゅ@まだまだフリー(;_;です.

[#3256] Re: Ver 1.1 [Re: Matrix] — matz@... (Yukihiro Matsumoto) 1997/07/02

まつもと ゆきひろです

[#3280] Re: Ver 1.1 [Re: Matrix] — keiju@... (石塚圭樹 ) 1997/07/04

けいじゅ@今はフリー(^^;;;です.

[#3282] exceptions (Re: Ver 1.1 [Re: Matrix]) — matz@... (Yukihiro Matsumoto) 1997/07/04

まつもと ゆきひろです

[#3292] meta programings [Re:exceptions (Re: Ver 1.1 [Re: Matrix])] — keiju@... (石塚圭樹 ) 1997/07/07

けいじゅ@今はフリー(^^;;;です.

[#3293] Re: meta programings [Re:exceptions (Re: Ver 1.1 [Re: Matrix])] — matz@... (Yukihiro Matsumoto) 1997/07/07

まつもと ゆきひろです

[#3294] Re: meta programings [Re:exceptions (Re: Ver 1.1 [Re: Matrix])] — keiju@... (石塚圭樹 ) 1997/07/07

けいじゅ@今はフリー(^^;;;です.

[#3295] Re: meta programings [Re:exceptions (Re: Ver 1.1 [Re: Matrix])] — matz@... (Yukihiro Matsumoto) 1997/07/07

まつもと ゆきひろです

[#3296] Re: meta programings [Re:exceptions (Re: Ver 1.1 [Re: Matrix])] — keiju@... (石塚圭樹 ) 1997/07/07

けいじゅ@今はフリー(^^;;;です.

[#3297] Re: meta programings [Re:exceptions (Re: Ver 1.1 [Re: Matrix])] — matz@... (Yukihiro Matsumoto) 1997/07/07

まつもと ゆきひろです

[#3302] Re: meta programings [Re:exceptions (Re: Ver 1.1 [Re: Matrix])] — keiju@... (石塚圭樹 ) 1997/07/08

けいじゅ@今はフリー(^^;;;です.

[#3304] Re: meta programings [Re:exceptions (Re: Ver 1.1 [Re: Matrix])] — matz@... (Yukihiro Matsumoto) 1997/07/08

まつもと ゆきひろです

[#3309] Re: meta programings [Re:exceptions (Re: Ver 1.1 [Re: Matrix])] — keiju@... (石塚圭樹 ) 1997/07/09

けいじゅ@今はフリー(^^;;;です.

[#3313] Re: meta programings [Re:exceptions (Re: Ver 1.1 [Re: Matrix])] — matz@... (Yukihiro Matsumoto) 1997/07/10

まつもと ゆきひろです

[#3320] Re: meta programings [Re:exceptions (Re: Ver 1.1 [Re: Matrix])] — matz@... (Yukihiro Matsumoto) 1997/07/10

まつもと ゆきひろです

[#3331] Re: meta programings [Re:exceptions (Re: Ver 1.1 [Re: Matrix])] — keiju@... (Keiju ISHITSUKA) 1997/07/11

けいじゅ@今はフリー(^^;;;です.

[#3342] Re: meta programings [Re:exceptions (Re: Ver 1.1 [Re: Matrix])] — matz@... (Yukihiro Matsumoto) 1997/07/14

まつもと ゆきひろです

[#3228] Re: 引っ越し(Re: Re: Matrix) — shugo@... (maeda shugo) 1997/07/02

前田です。

[#3231] Re: 引っ越し(Re: Re: Matrix) — matz@... (Yukihiro Matsumoto) 1997/07/02

まつもと ゆきひろです

[#3200] 広報活動 — matz@... (Yukihiro Matsumoto)

まつもと ゆきひろです

18 messages 1997/06/30

[ruby-list:3096] parsedate.rb

From: jkuro@... (Jun Kuroda)
Date: 1997-06-09 04:39:23 UTC
List: ruby-list #3096
黒田です。

parsedate.rb の parsedate の返り値は Fixnum に統一されている
方が嬉しいです。Stringでも良いですが。

#毎月1〜9日だけ正しく動作してくれないので、報告忘れてました。

*** parsedate.rb.org	Mon Oct  2 18:51:18 1995
--- parsedate.rb	Mon Jun  9 13:01:27 1997
***************
*** 14,39 ****
        time = $1
      end
      if date =~ /19(\d\d)/
!       year = $1
      end
      if date.sub!(/\s*(\d+)\s+(#{MONTHPAT})\S*\s+/i, ' ')
!       dayofmonth = $1
        monthname  = $2
      elsif date.sub!(/\s*(#{MONTHPAT})\S*\s+(\d+)\s+/i, ' ')
        monthname  = $1
!       dayofmonth = $2
      elsif date.sub!(/\s*(#{MONTHPAT})\S*\s+(\d+)\D+/i, ' ')
        monthname  = $1
!       dayofmonth = $2
      elsif date.sub!(/\s*(\d\d?)\/(\d\d?)/, ' ')
        month  = $1
!       dayofmonth = $2
      end
      if monthname
        month = MONTHS[monthname.downcase]
      end
      if ! year && date =~ /\d\d/
!       year = $&
      end
      return year, month, dayofmonth
    end
--- 14,39 ----
        time = $1
      end
      if date =~ /19(\d\d)/
!       year = $1.to_i
      end
      if date.sub!(/\s*(\d+)\s+(#{MONTHPAT})\S*\s+/i, ' ')
!       dayofmonth = $1.to_i
        monthname  = $2
      elsif date.sub!(/\s*(#{MONTHPAT})\S*\s+(\d+)\s+/i, ' ')
        monthname  = $1
!       dayofmonth = $2.to_i
      elsif date.sub!(/\s*(#{MONTHPAT})\S*\s+(\d+)\D+/i, ' ')
        monthname  = $1
!       dayofmonth = $2.to_i
      elsif date.sub!(/\s*(\d\d?)\/(\d\d?)/, ' ')
        month  = $1
!       dayofmonth = $2.to_i
      end
      if monthname
        month = MONTHS[monthname.downcase]
      end
      if ! year && date =~ /\d\d/
!       year = $&.to_i
      end
      return year, month, dayofmonth
    end
- --
黒田  淳 (くろだ じゅん)

In This Thread

Prev Next