Correcting pubdate out new.

This commit is contained in:
sergiotarxz 2024-05-06 21:37:48 +02:00
parent 9b9df30219
commit 6a900050a3
1 changed files with 2 additions and 2 deletions

View File

@ -357,7 +357,7 @@ EOF
my $is_shiny = $pokemon->{is_shiny};
my $has_pokerus = $pokemon->{has_pokerus};
my $pg_date = $pokemon->{date};
my $date = DateTime->now() . '';
my $date = DateTime->now();
my $held_item = $pokemon->{held_item};
my $wanted_species = $pokemon->{wanted_species};
my $requirements = $pokemon->{wanted_requirements};
@ -395,7 +395,7 @@ EOF
my $uuid = create_uuid_string;
$db->do(
$query_create_news, undef, $uuid,
$pg_date, $offerer, $species,
$pg_date_formatter->format_datetime($date), $offerer, $species,
$is_shiny, $has_pokerus, $line,
$held_item,
);