• Resolved heyandy

    (@heyandy)


    Is there a way to change the date format?

    My site is setup for MM/dd/yyyy, yet when I use this plugin it always goes yyyy/MM/dd.

Viewing 3 replies - 1 through 3 (of 3 total)
  • No, there isn’t a way to change it at the moment, but we’ll definitely add this in the next version.

    In the meantime, you can alter the date format on line 304 of posts-data-table.php. E.g.

    '{date}' => get_the_date( 'm/d/Y', $_post ),

    Andy

    Thread Starter heyandy

    (@heyandy)

    Hey Andy (wait, that’s me),

    Thanks for the quick reply! I basically tweaked your change and just updated line 172 to set the date_format variable to the new format. Even though looking the only place that variable is used is in the line you mentioned. But just felt “cleaner” as a program to change your variable then hard code it below (even though for now the variable is hard coded… But, nevermind…)

    Andy

    Hi Andy! Yeah it would be better as a shortcode option. I’ll make sure to add that in the next version, so it’s not hard-coded.

    Andy

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Date format’ is closed to new replies.