]> git.mjollnir.org Git - moodle.git/commitdiff
Typo in userdate
authormartin <martin>
Thu, 4 Jul 2002 08:01:26 +0000 (08:01 +0000)
committermartin <martin>
Thu, 4 Jul 2002 08:01:26 +0000 (08:01 +0000)
lib/moodlelib.php

index b6e1850635e5ce29cdcfeee9a23492b4fb80b222..6d1679b06b55891169cb26540166ce6b47f5ecff 100644 (file)
@@ -216,7 +216,7 @@ function userdate($date, $format="", $timezone=99) {
         $timezone = (float)$USER->timezone;
     }
     if (abs($timezone) > 12) {
-        return date("$format", $date);
+        return strftime("$format", $date);
     }
     return gmstrftime($format, $date + (int)($timezone * 3600));
 }