Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion How to use start_year and end_year on a date column
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Vorik  
View profile  
 More options Apr 16 2007, 2:01 am
From: "Vorik" <goo...@gerapeldoorn.nl>
Date: Sun, 15 Apr 2007 23:01:04 -0700
Local: Mon, Apr 16 2007 2:01 am
Subject: How to use start_year and end_year on a date column
Hi all,

I'm trying to insert a record containing a birthdate with
activescaffold. However, the year-dropdown box is only showing years
starting from 2002. This means that people over 5 years old cannot use
the application which, unfortunately, does not meet the functional
requirements. (Would save lots of difficult questions though!)

How can I set the starting year? With standard rails it is set like
this:

date_select :geboortedatum, :order =>
[:day, :month, :year], :start_year => 1970, :end_year => 2000

The funny thing is that in 'edit mode', the years start at 1969 but in
'new' mode it starts at 2002.

Thanks in advance,
Ger Apeldoorn


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.