• Where would I change the date and time format in the core files? Reason being, I am using json/js to pull the events post type. Changing format is easily done with shortcode on the site, but I need to change the core format for my mobile app.

    I appreciate it.

    thanks

    http://ww.wp.xz.cn/plugins/am-events/

Viewing 1 replies (of 1 total)
  • Plugin Author Atte Moisio

    (@moisture)

    Why exactly do you want to change the format and to what format? Do you need to change the format in which the dates are stored in the database? The current default format is yyyy-mm-dd hh:mm:ss. I could make it easy for you to change the database format if that’s what you need.

    Could you maybe use the current format and just change it after you have pulled the event posts? I may be a little off the track here, as I am not very familiar with JSON myself.

Viewing 1 replies (of 1 total)

The topic ‘Change Date Format’ is closed to new replies.