It seems that the WordPress treats an expired advert as expired at the specified time by local timezone, but WP Adverts by UTC time.
Ok, thanks for the feedback, i will take a look at it and fix in next release.
Just to confirm, it do seems that the expiration date is incorrect in Expires column, the actual time when Ad expires (that is when label “Expired” is added next to the title) seems ok?
Yes, Greg. I checked again and it seems that the actual time of expiring is ok, but in Expires column is wrong. If, for example, an advert expired right now, in the Expires column I see that it will expire after 2 hours. I think this is related to the timezone settings (my local timezone is UTC+2 – Europe/Chisinau).
Ok thanks, i think this will be resolved properly in next release.
And, Greg, please don’t forget about these notice/warnings, produced when the date of expiring is changed manually from the back-end:
Notice: Undefined index: adverts_ss in …/wp-content/plugins/wpadverts/includes/admin-post-type.php on line 71
Warning: Cannot modify header information – headers already sent by (output started at …/wp-content/plugins/wpadverts/includes/admin-post-type.php:71) in …/wp-admin/post.php on line 197
Warning: Cannot modify header information – headers already sent by (output started at …/wp-content/plugins/wpadverts/includes/admin-post-type.php:71) in …/wp-includes/pluggable.php on line 1228
This should be resolved as well.