From 17e33477fa142bfca1fa30369e610aaada3d1b51 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Tue, 17 May 2016 23:15:51 +0200 Subject: [PATCH] Rename epoch_to_gmdate to epochToGmdate, and str_to_gmdate to strToGmdate --- rss_converter_dilbert.com.xsl | 2 +- rss_converter_facebook.com.xsl | 2 +- rss_converter_howtoons.com.xsl | 2 +- rss_converter_instagram.com.xsl | 2 +- rss_converter_pump.io.xsl | 2 +- rss_converter_twitter.com.xsl | 2 +- tweeper.php | 6 +++--- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/rss_converter_dilbert.com.xsl b/rss_converter_dilbert.com.xsl index fd7fcfe..b7f9fbf 100644 --- a/rss_converter_dilbert.com.xsl +++ b/rss_converter_dilbert.com.xsl @@ -67,7 +67,7 @@ - + <![CDATA[ diff --git a/rss_converter_facebook.com.xsl b/rss_converter_facebook.com.xsl index 984d12c..ecbd18c 100644 --- a/rss_converter_facebook.com.xsl +++ b/rss_converter_facebook.com.xsl @@ -85,7 +85,7 @@ - + diff --git a/rss_converter_howtoons.com.xsl b/rss_converter_howtoons.com.xsl index 41939f1..7c34729 100644 --- a/rss_converter_howtoons.com.xsl +++ b/rss_converter_howtoons.com.xsl @@ -57,7 +57,7 @@ - + <![CDATA[ diff --git a/rss_converter_instagram.com.xsl b/rss_converter_instagram.com.xsl index c4fda61..9122315 100644 --- a/rss_converter_instagram.com.xsl +++ b/rss_converter_instagram.com.xsl @@ -79,7 +79,7 @@ - + <![CDATA[ diff --git a/rss_converter_pump.io.xsl b/rss_converter_pump.io.xsl index ed99713..95abf3e 100644 --- a/rss_converter_pump.io.xsl +++ b/rss_converter_pump.io.xsl @@ -46,7 +46,7 @@ - + diff --git a/rss_converter_twitter.com.xsl b/rss_converter_twitter.com.xsl index 991d525..59c29bb 100644 --- a/rss_converter_twitter.com.xsl +++ b/rss_converter_twitter.com.xsl @@ -54,7 +54,7 @@ - + diff --git a/tweeper.php b/tweeper.php index 36bf085..fdf6e5c 100644 --- a/tweeper.php +++ b/tweeper.php @@ -44,7 +44,7 @@ class Tweeper { /** * Convert numeric Epoch to the date format expected in a RSS document. */ - public static function epoch_to_gmdate($timestamp) { + public static function epochToGmdate($timestamp) { if (!is_numeric($timestamp) || is_nan($timestamp)) { $timestamp = 0; } @@ -55,13 +55,13 @@ class Tweeper { /** * Convert generic date string to the date format expected in a RSS document. */ - public static function str_to_gmdate($date) { + public static function strToGmdate($date) { $timestamp = strtotime($date); if (FALSE === $timestamp) { $timestamp = 0; } - return Tweeper::epoch_to_gmdate($timestamp); + return Tweeper::epochToGmdate($timestamp); } /** -- 2.1.4