y2k bug?

0 views
Skip to first unread message

e-calas

unread,
Jun 26, 2007, 8:15:42 PM6/26/07
to Ruby on Rails: DHTML Calendar
Hello everybody, I'm trying to use DHTML-Calendar using the following
code:

<%= calendar_box 'user', 'fecha_nacimiento', {
:class => 'date',
:field_title => 'Fecha de nacimiento',
:button_image => 'calendar.gif',
:button_title => 'Mostrar calendario' },
{ :firstDay => 1,
:range => [1940, 1999],
:step => 2,
:showOthers => true,
:cache => true }
%>

and the calendar displays fine but when I select a date the result is
in this century, if I select 1978-06-01 I get 2078-06-01. Any idea on
what could be happening?

Thanks in advance.

Jorge Calás

Ed Moss

unread,
Jul 5, 2007, 6:28:26 PM7/5/07
to Ruby on Rails: DHTML Calendar
Try trunk revision 56.

Thanks.

Ed.

e-calas

unread,
Jul 6, 2007, 7:11:50 PM7/6/07
to Ruby on Rails: DHTML Calendar
Thanks, Ed, it is solved now.

Greetings,

Jorge

Reply all
Reply to author
Forward
0 new messages