We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4ace6a commit 61bbf93Copy full SHA for 61bbf93
1 file changed
controller/helper.php
@@ -188,7 +188,8 @@ public function get_find_username_link()
188
*/
189
public function is_expired($row)
190
{
191
- if ((int) $row['ad_end_date'] > 0 && (int) $row['ad_end_date'] < time())
+ $latest_timezone_end = time() - (12 * 3600); // UTC-12 is the last timezone
192
+ if ((int) $row['ad_end_date'] > 0 && (int) $row['ad_end_date'] < $latest_timezone_end)
193
194
return true;
195
}
0 commit comments