This commit is contained in:
Xavier Guimard 2018-06-21 21:21:50 +02:00
parent fc3e3dd060
commit 7a83f4e84b

View File

@ -269,7 +269,9 @@ sub newNotification {
}
# Set default date value
$self->logger->debug("Datas posted : uid = $json->{uid} - Date = $json->{date} - Ref = $json->{reference}");
$self->logger->debug(
"Datas posted : uid = $json->{uid} - Date = $json->{date} - Ref = $json->{reference}"
);
my $dDate = strftime( "%Y-%m-%d", localtime() );
$json->{date} ||= $dDate;
$self->logger->debug("Notification Date = $json->{date}");