X-Git-Url: https://git.ao2.it/tweeper.git/blobdiff_plain/3b9b93ab380ab005f71cd14f85d27c87f3c64b0d..17e33477fa142bfca1fa30369e610aaada3d1b51:/tweeper.php?ds=sidebyside 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); } /**