[前][次][番号順一覧][スレッド一覧]

rails:735

From: Kazuhiro Yoshida <moriq@m...>
Date: Sun, 04 Dec 2005 19:56:00 +0900
Subject: [rails:735] Re: 悩ましい日付型, date_select, select_date

もりきゅうです。
また修正…

Kazuhiro Yoshida <moriq@m...> wrote:
  class Base
>     private
>       HOLDER_CLASSES = {
          Time => Struct.new("TimeHolder", :year, :month, :day, :hour, :min, :sec),
>         Date => Struct.new("DateHolder", :year, :month, :day)
>       }

class を書き忘れてましたが、
lib/mpaerr.rb の該当箇所に追加していただければ。

Time はたぶんこれで通るはず。minute メソッドが要るか微妙。

----
Kazuhiro Yoshida  moriq@m...

--
ML: rails@r...
使い方: http://QuickML.com/
Web Site: http://wiki.fdiary.net/rails/
ML Archives: http://www.fdiary.net/ml/rails/

[前][次][番号順一覧][スレッド一覧]

       724 2005-12-03 12:33 [gollum@h...         ] 悩ましい日付型, date_select, select_date
       725 2005-12-03 12:49 ┣[osakanas@g...       ]                                       
       726 2005-12-03 13:42 ┃┣[kazuhiko@f...       ]                                     
       727 2005-12-03 13:59 ┃┗[gollum@h...         ]                                     
       729 2005-12-04 07:02 ┗[moriq@m...          ]                                       
       730 2005-12-04 07:09  ┣[moriq@m...          ]                                     
       731 2005-12-04 07:30  ┣[moriq@m...          ]                                     
       733 2005-12-04 10:26  ┗[gollum@h...         ]                                     
       734 2005-12-04 11:44   ┗[moriq@m...          ]                                   
->     735 2005-12-04 11:56    ┣[moriq@m...          ]                                 
       739 2005-12-04 16:49    ┗[gollum@h...         ]