I recommend the following (on your WW server):
- Find the file TimeZone.pm file in the Perl folder for the DateTime module.
- On a RHEL 7 system I manage, the relevant file is /usr/share/perl5/vendor_perl/DateTime/TimeZone.pm
- Check which files in the relevant directory have the string "which is from an older version".
- Edit the file in your favorite text editor. Search for the line with the text "which is from an older version". It will be in the middle of a block like:
- if ( $object_version ne $catalog_version ) {
- warn
- "Loaded $real_class, which is from an older version ($object_version) of the Olson database than this installation of DateTime::TimeZone ($catalog_version).\n";
- }
- in which the warn call is split over several lines.
- Hack the code to bypass the warning.
- Option 1: Comment out the lines which issue the warning.
- Option 2: Replace the if condition line by "if ( 1 == 0 ) {" so the warning will not be issued.
References: