From: Antonio Ospite Date: Sat, 27 Jul 2013 14:01:36 +0000 (+0200) Subject: Rename formatDate() function to epoch_to_gmdate() X-Git-Tag: v0.1~27 X-Git-Url: https://git.ao2.it/tweeper.git/commitdiff_plain/e72725d4483b90a43fb46a98453bb38eab2b6f55?hp=-c Rename formatDate() function to epoch_to_gmdate() The could be different date conversion functions in the future. --- e72725d4483b90a43fb46a98453bb38eab2b6f55 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'; }