Remove hours from the detection

This commit is contained in:
Champ Camba
2023-07-07 17:39:49 +08:00
parent fda882d35c
commit 251753bbbf
+2 -2
View File
@@ -256,8 +256,8 @@ class Secure {
$content .= $br . __( 'We\'ve temporarily disabled the suspcious account(s) for you to <strong>take actions</strong>.', 'ultimate-member' );
if ( $might_affected_users->get_total() > 0 ) {
$od = gmdate( 'F d, Y h:iA', $oldest_date );
$nd = gmdate( 'F d, Y h:iA', $newest_date );
$od = gmdate( 'F d, Y', $oldest_date );
$nd = gmdate( 'F d, Y', $newest_date );
if ( $od !== $nd ) {
$date_registered = $od . ' to ' . $nd;
} else {