projects
/
tweeper.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename epoch_to_gmdate to epochToGmdate, and str_to_gmdate to strToGmdate
[tweeper.git]
/
tweeper.php
diff --git
a/tweeper.php
b/tweeper.php
index
36bf085
..
fdf6e5c
100644
(file)
--- a/
tweeper.php
+++ b/
tweeper.php
@@
-44,7
+44,7
@@
class Tweeper {
/**
* Convert numeric Epoch to the date format expected in a RSS document.
*/
/**
* Convert numeric Epoch to the date format expected in a RSS document.
*/
- public static function epoch
_to_g
mdate($timestamp) {
+ public static function epoch
ToG
mdate($timestamp) {
if (!is_numeric($timestamp) || is_nan($timestamp)) {
$timestamp = 0;
}
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.
*/
/**
* Convert generic date string to the date format expected in a RSS document.
*/
- public static function str
_to_g
mdate($date) {
+ public static function str
ToG
mdate($date) {
$timestamp = strtotime($date);
if (FALSE === $timestamp) {
$timestamp = 0;
}
$timestamp = strtotime($date);
if (FALSE === $timestamp) {
$timestamp = 0;
}
- return Tweeper::epoch
_to_g
mdate($timestamp);
+ return Tweeper::epoch
ToG
mdate($timestamp);
}
/**
}
/**