Subject: | formatter is not set on inflated values |
use DateTime;
use DateTime::Format::MySQL;
my $dt = DateTime::Format::MySQL->parse_datetime("2014-10-15 00:00:00");
print $dt->formatter;
# gives undef, not 'MySQL'
Why is the formatter on the inflated DateTime not set to the formatter that
was used to parse the string? Without setting this, we cannot round-trip back
to the same string as we started from... which leads to great headaches e.g.
in database processing.