On Tue, Dec 15, 2009 at 11:39 PM, Evan Carroll <m...@evancarroll.com> wrote:
> How much would you want to be overridable, and set in the constructor > of the DateTime::Format module? Just the format_datetime function when it comes to the value which is assigned to the time_zone attribue. It's already an attribute of the module. > How much should we add to this other > than time_zone (format_timezone) ? locale (format_locale)? What about > adding and subtracting duration?? > Nope. The point is that DateTime(s) exist within time_zones in real life. it makes sense to format an object based on the time_zone is should be apart of. Doing math to change the actual point in time of the object is well outside of the scope of the request. > > Here is better API idea, why not just make the hash ref to > format_datetime, a huge method wrapper!!!! > Taken to the point of absurdity.