Home › Forums › Plugins › Product Importer Deluxe › [Resolved] import post_date and post_modified › Reply To: [Resolved] import post_date and post_modified
Hi Dima, thanks for raising this, you’re right we do set the Product post_date to the current time within woo_pd_create_product() but then during woo_pd_create_product_details() we go and update that post_date to what’s provided in the CSV file (see “// Insert Post Date”, line #552 of /includes/product-new.php).
This was done intentionally where corrupt date’s were being provided, we do a bunch of checking now using woo_pd_is_valid_post_date() (line #398 of /includes/product.php) which could be where you are having a problem as it returns null if the validation fails; and will then keep the original post_date which is current_time(). Can you include a sample of the Post Date column you’re importing here?