- fixed join/leave messages

- improved time formatter
- bugfix setting manager
- donation plugin
This commit is contained in:
Steffen Schröder
2013-11-12 19:33:25 +01:00
parent 414dcfee08
commit 6ce66e1640
9 changed files with 277 additions and 195 deletions

View File

@ -35,21 +35,21 @@ abstract class Formatter {
/**
* Formats the given time (seconds) to hh:mm:ss
*
* @param int $time
* @param int $seconds
* @return string
*/
public static function formatTimeH($time) {
public static function formatTimeH($seconds) {
return gmdate("H:i:s", $seconds);
}
/**
* Convert the given time (seconds) to mysql timestamp
*
* @param int $time
* @param int $seconds
* @return string
*/
public static function formatTimestamp($time) {
return date("Y-m-d H:i:s", $time);
public static function formatTimestamp($seconds) {
return date("Y-m-d H:i:s", $seconds);
}
/**