Cool stuff. PDI adding a strftime method. :) -Thomas
Am 15.09.2006 um 20:29 schrieb Martin Ström: > 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 -~----------~----~----~----~------~----~------~--~---
