Permalink
Browse files

Typo in userdate

  • Loading branch information...
1 parent 6df680c commit 6d9d8344b412eb341ba329407dd258eafe41f913 martin committed Jul 4, 2002
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/moodlelib.php
View
@@ -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));
}

0 comments on commit 6d9d834

Please sign in to comment.