Skip to content

Commit c4ad625

Browse files
authored
Merge pull request #1279 from mboynes/patch-1
Fix datetime values
2 parents 72e34ef + 884a7b0 commit c4ad625

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inc/template-tags.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ function _s_posted_on() {
1818
}
1919

2020
$time_string = sprintf( $time_string,
21-
esc_attr( get_the_date( 'c' ) ),
21+
esc_attr( get_the_date( DATE_W3C ) ),
2222
esc_html( get_the_date() ),
23-
esc_attr( get_the_modified_date( 'c' ) ),
23+
esc_attr( get_the_modified_date( DATE_W3C ) ),
2424
esc_html( get_the_modified_date() )
2525
);
2626

0 commit comments

Comments
 (0)