• Resolved Nitrat

    (@nitrat)


    Hello
    The format of the date in my orders – dd.mm.yy. But when you export it turns out the format mm/dd/yy. How to fix it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hi @nitrat

    I’m not sure I understand – can you please elaborate on when the date format is being changed and what steps we can take to reproduce this behavior?

    Thread Starter Nitrat

    (@nitrat)

    Thanks. Solved the problem using the function –

    <?php
    function my_map_field( $value ) {
     $value = date_i18n( 'd.m.Y', strtotime( $value) );
    	 return $value;
    }
    
    ?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Data format’ is closed to new replies.