Skip to content
This repository was archived by the owner on Sep 5, 2025. It is now read-only.

Commit 884a7b0

Browse files
authored
Fix datetime values
1 parent 72e34ef commit 884a7b0

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)