It sounds like you want :datetime instead of :time.
bryan
Deniz Rende wrote:
Hello,
I have an application that I am trying to add the correct date and time.
I have the following in fields..do in my contact.rb (model) :
name :string, :required
company :string
time_met :time
...
when I specify time_met :time
from the application, the following appears in the default dropdowns
Time Met 2010 April 1 03 09 46
This is fine...However when I create the contact as it is or change the
date and time to something else, the date is created as follows
January 01, 2000 03:09
I am using postgres 8.3 64 bit. What am I missing?
Thanks.
--
Deniz Rende
E-mail: [email protected] <mailto:[email protected]>
Phone: +1 (224) 789-UNIX (8649)
Mobile: +1 (816) 213-2139
Web: http://www.deniz-rende.com/blog
--
You received this message because you are subscribed to the Google
Groups "Hobo Users" 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/hobousers?hl=en.
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" 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/hobousers?hl=en.