Dear all, Another question
I have been trying to save a data in format Date
use postgresql 8
I use 3 textbox to catch day, month, year
for then combined into 1 string
My code is like this
a = Model.new
a.birth = Time.parse('some-date-in-string')
a.save
When I input something like '1900-1-1'
it does not save anything
I know this is not sequel issue, for this
behavior is based on Time class
that cannot parse a less then a certain year
I googled once and found a little variety of those year limit
What I ask is,
probably some of you already find a work around to solve this problem
maybe you can share?
Thanks
--
Suka linux?
Kunjungi blog saya http://penguinroad.blogspot.com
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sequel-talk?hl=en.