From e72725d4483b90a43fb46a98453bb38eab2b6f55 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Sat, 27 Jul 2013 16:01:36 +0200 Subject: [PATCH] Rename formatDate() function to epoch_to_gmdate() The could be different date conversion functions in the future. --- rss_converter_twitter.com.xsl | 2 +- tweeper.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rss_converter_twitter.com.xsl b/rss_converter_twitter.com.xsl index 6d72ceb..45e148d 100644 --- a/rss_converter_twitter.com.xsl +++ b/rss_converter_twitter.com.xsl @@ -42,7 +42,7 @@ - + diff --git a/tweeper.php b/tweeper.php index 58c1642..e55ff82 100755 --- a/tweeper.php +++ b/tweeper.php @@ -20,7 +20,7 @@ date_default_timezone_set('UTC'); -function formatDate($timestamp) +function epoch_to_gmdate($timestamp) { return gmdate('D, d M Y H:i:s', $timestamp) . ' GMT'; } -- 2.1.4