From 884a7b082161f0ff98f61d864a60cc5fa0de60b9 Mon Sep 17 00:00:00 2001 From: Matthew Boynes Date: Fri, 16 Mar 2018 20:39:14 -0400 Subject: [PATCH] Fix datetime values --- inc/template-tags.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/template-tags.php b/inc/template-tags.php index 056291d5..769c6ac1 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -18,9 +18,9 @@ if ( ! function_exists( '_s_posted_on' ) ) : } $time_string = sprintf( $time_string, - esc_attr( get_the_date( 'c' ) ), + esc_attr( get_the_date( DATE_W3C ) ), esc_html( get_the_date() ), - esc_attr( get_the_modified_date( 'c' ) ), + esc_attr( get_the_modified_date( DATE_W3C ) ), esc_html( get_the_modified_date() ) );