/**
* 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;
}
/**
* 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);
}
/**