Forum: Ruby on Rails Text to dates

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Aa85bbef6911f5facb5a49a48ddd42b5?d=identicon&s=25 Andy Croll (Guest)
on 2007-05-15 12:55
(Received via mailing list)
Does anyone have any standard functions they use to input and create
dates and times from a text field?

A bit like the Add Event on Basecamp's calendar...
http://www.37signals.com/svn/archives2/the_long_ro...

Or perhaps seen examples elsewhere on the web of date parsing using
regular expressions?

Cheers for any guidance you can give!

Andy Croll
http://www.deepcalm.com
5190330ad8f1b06d35e2c2da73dc623c?d=identicon&s=25 Eric Anderson (Guest)
on 2007-05-15 15:44
(Received via mailing list)
Andy Croll wrote:
> Does anyone have any standard functions they use to input and create
> dates and times from a text field?

Have you tried chronic?

Eric
Aa85bbef6911f5facb5a49a48ddd42b5?d=identicon&s=25 Andy Croll (Guest)
on 2007-05-16 12:22
(Received via mailing list)
That looks like just the thing! Thanks Eric!
This topic is locked and can not be replied to.