beck24 / spam_login_filter

1 stars 2 forks source link

Blocking dates not displayed correctly #9

Open juho-jaakkola opened 7 years ago

juho-jaakkola commented 7 years ago

image

This is caused by trying to use formatting meant for date() funtion with strftime() which in fact uses a different set of formatting options.

$created_date = htmlspecialchars(strftime(elgg_echo("friendlytime:date_format"), $spam_login_filter_ip->time_created));