Mislav Marohnic' wrote: > On 8/22/07, *Ken Snyder* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > What is the feeling on adding functions to Date.prototype? As mentioned > in March (see message at bottom), adding Date.prototype.succ() would > allow some helpful iterating. I would suggest an optional argument to > > succ for time period and I also would like to throw out several more > possible methods (below). > > > Ken, these are nice and certainly useful, but I don't think most of > the people have a need for them. Most of the heavy-duty date/time > logic should be kept in your application (server-side). But I'll let > other core members speak for themselves. > > You're encouraged to keep maintaining this extensions and releasing > them open-source so people who do need them can benefit. For any interested, here is the final version of my Date plugin: http://kendsnyder.com/sandbox/date/
I've also added it as a Prototype patch if there is ever a desire to extend Date within Prototype http://dev.rubyonrails.org/ticket/9452 - Ken Snyder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" 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/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---
