On Mon, Jan 6, 2014 at 7:18 AM, Adam Witney wrote:
> Hi,
>
> I have a date field in a DBIx::Class Result class using
> InflateColumn::DateTime. When I pass this through a Catalyst/TT
> application, the date is presented in -MM-DD format.
>
> I can modify this to DD/MM/ in my TT template w
DateTime has an option to change the default stringification with a
'formatter' option.
Also DBIx::Class::InflateColumn::DateTime is a convenience method, you
could choose to use the DBIx::Class::InflateColumn yourself and combine
this with the DateTime formatter option to give you the result you
Hi,
I have a date field in a DBIx::Class Result class using
InflateColumn::DateTime. When I pass this through a Catalyst/TT
application, the date is presented in -MM-DD format.
I can modify this to DD/MM/ in my TT template with object.dmy('/'),
but I would prefer to change the defaul