diff --git a/contrib/rss_comments/main.php b/contrib/rss_comments/main.php index 6ef68a39..52fbead3 100644 --- a/contrib/rss_comments/main.php +++ b/contrib/rss_comments/main.php @@ -50,7 +50,7 @@ class RSS_Comments implements Extension { $comment_id = $comment['comment_id']; $link = make_link("post/view/$image_id"); $owner = html_escape($comment['user_name']); - $posted = strftime("%a, %d %b %Y %T %Z", $comment['posted_timestamp']); + $posted = date(DATE_RSS, $comment['posted_timestamp']); $comment = html_escape($comment['comment']); $content = html_escape("$owner: $comment"); diff --git a/contrib/rss_images/main.php b/contrib/rss_images/main.php index 6eae945b..69229740 100644 --- a/contrib/rss_images/main.php +++ b/contrib/rss_images/main.php @@ -64,7 +64,7 @@ class RSS_Images implements Extension { $owner = $image->get_owner(); $thumb_url = $image->get_thumb_link(); $image_url = $image->get_image_link(); - $posted = strftime("%a, %d %b %Y %T %Z", $image->posted_timestamp); + $posted = date(DATE_RSS, $image->posted_timestamp); $content = html_escape( "

" . Themelet::build_thumb_html($image) . "

" . "

Uploaded by " . $owner->name . "

"