Code in question:
$meta_tags['http://ogp.me/ns/article#published_time'] = get_the_date('c'); $meta_tags['http://ogp.me/ns/article#modified_time'] = get_the_modified_date('c');
Why does the plugin use “
c” instead of something like “
c” outputs the right time but WRONG time zone (always UTC), if you haven’t noticed it. “
Y-m-d\TH:i:sP” on the other hand outputs the timestamp in the same format as “
c” but with the right timezone (respecting the settings in WordPress Dashboard > Settings > General).
Please fix this, or give an explanation with regards to your choice. Thanks!
- The topic ‘[Plugin: Facebook] Why does the plugin use "c" Instead Of "Y-m-d\TH:i:sP"?’ is closed to new replies.