Install libdatetime-format-pg-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libdatetime-format-pg-perl
Description:
module for parsing and formatting PostgreSQL dates and times
DateTime::Format::Pg understands the formats used by PostgreSQL for its DATE, TIME, TIMESTAMP and INTERVAL data types. It can be used to parse these formats in order to create DateTime or DateTime::Duration objects, and it can take a DateTime or DateTime::Duration object and produce a string representing it in a format accepted by PostgreSQL.
Homepage: https://metacpan.org/release/DateTime-Format-Pg
Version: 0.16013-1
Section: universe/perl