Skip to content

Instantly share code, notes, and snippets.

@codearachnid
Created November 8, 2018 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codearachnid/ea24b8323b0a9c7e7cc7b07f1a881915 to your computer and use it in GitHub Desktop.
Save codearachnid/ea24b8323b0a9c7e7cc7b07f1a881915 to your computer and use it in GitHub Desktop.
Fix date format for export convertplus
<?php
// convertplus/admin/ajax-actions.php
// line 3133
/*** RFM DATE ADJUST ***/
foreach($contacts as $key => $contact){
$contact['date'] = date("Y-m-d", strtotime($contact['date']));
$contacts[$key] = $contact;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment