Minor fix.

This commit is contained in:
Stefan Brannfjell 2014-02-02 20:45:12 +01:00
parent 7a5a4eb410
commit 0713d99a1b

View File

@ -33,7 +33,7 @@
- echo getClock($profile_data['lastlogin'], true); = from characterprofile, - echo getClock($profile_data['lastlogin'], true); = from characterprofile,
explains when user was last logged in. */ explains when user was last logged in. */
function getClock($time = false, $format = false, $adjust = true) { function getClock($time = false, $format = false, $adjust = true) {
if (!$time) $time = time(); if ($time === false) $time = time();
// Date string representation // Date string representation
$date = "d F Y (H:i)"; // 15 July 2013 (13:50) $date = "d F Y (H:i)"; // 15 July 2013 (13:50)
if ($adjust) $adjust = (1 * 3600); // Adjust to fit your timezone. if ($adjust) $adjust = (1 * 3600); // Adjust to fit your timezone.