That's awesome! On 9/15/06, Martin Ström <[EMAIL PROTECTED]> wrote: > > Hello, > I needed to do some date calculations in JS for a project I'm working on so > I ported the numeric time extensions from Rails to JS. Now I can neat things > like this: ((3).weeks() + (2).hours() + > (15).minutes()).fromNow().toDate() > > Read more: > http://burnfield.com/martin/2006/09/15/rails-time-extensions-ported-to-javascript > > > Martin Ström > -- > burnfield.com/martin > > >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" 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/rubyonrails-spinoffs -~----------~----~----~----~------~----~------~--~---
