Correcting pubdate out new.

This commit is contained in:
sergiotarxz 2024-05-06 21:37:48 +02:00
parent 9b9df30219
commit 6a900050a3

View File

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