Subject: | Courriel::Builder warns with an updated DateTime but an older DateTime::Format::Mail |
Looks like this happens with DateTime >= 1.32 and DateTime::Format::Mail < 0.403
Failed test 'Unexpected warning: You passed a locale to the set() method. You should use set_locale() instead, as using set() may alter the local time near a DST bounday. at /opt/teamcity/agents/tcagent2/local/MaxMind/oalders__update-perl-modules/lib/perl5/DateTime/Format/Mail.pm line 292.
'
at /opt/perl5.20.2/lib/5.20.2/Carp.pm line 168.
Trace begun at /opt/perl5.20.2/lib/5.20.2/Carp.pm line 168
Carp::carp('You passed a locale to the set() method. You should use set_locale() instead, as using set() may alter the local time near a DST bounday.') called at /opt/teamcity/agents/tcagent2/local/MaxMind/oalders__update-perl-modules/lib/perl5/x86_64-linux/DateTime.pm line 1947
DateTime::set(undef, 'locale', 'en_US') called at /opt/teamcity/agents/tcagent2/local/MaxMind/oalders__update-perl-modules/lib/perl5/DateTime/Format/Mail.pm line 292
DateTime::Format::Mail::format_datetime('DateTime::Format::Mail', 'DateTime=HASH(0x20b0d8b8)') called at /opt/teamcity/agents/tcagent2/local/MaxMind/oalders__update-perl-modules/lib/perl5/Courriel/Builder.pm line 141
Courriel::Builder::_add_required_headers('ARRAY(0xd7c19a0)') called at /opt/teamcity/agents/tcagent2/local/MaxMind/oalders__update-perl-modules/lib/perl5/Courriel/Builder.pm line 118
Courriel::Builder::build_email('HASH(0x20a8a538)', 'HASH(0x20afc080)', 'HASH(0x20a83038)', 'HASH(0x20a83278)', 'HASH(0x20c5bb10)') called at /opt/teamcity/agents/tcagent2/work/10ba80e60b5cd173/lib/MM/Email/GeoIPUpdateReminder.pm line 101