On Mon, Feb 15, 2010 at 4:39 PM, Karen Etheridge <p...@froods.org> wrote:
>
> Why do DateTime formatters construct objects that don't have the
> "formatter" field set by default? It seems to me that this is usually
> better than leaving it blank.

Who says that everyone using MySQL wants the MySQL time format? If you
want it, that's great. Personally, I don't think DateTime objects
should be too concerned with their outputting mechanism -- the idea to
me sounds more like having your Model choose its View if you were to
relate it to the MVC paradigm. If you had 10 different DT::F's in use,
and you serialized all their returns you would get a different
display. That sounds kind of awkward.

-- 
Evan Carroll
System Lord of the Internets

Reply via email to