Commit ee60c934 authored by Gábor Hojtsy's avatar Gábor Hojtsy

translation fix

parent 7bbe488e
......@@ -99,8 +99,7 @@ function scheduler_nodeapi(&$node, $op, &$arg) {
// Build up date components array
$month_names = array();
for ($i = 1; $i <= 12; $i++) {
$stamp = mktime(0, 0, 0, $i, 1, 1971);
$month_names[$i] = t(date("F", $stamp));
$month_names[$i] = format_date(mktime(0, 0, 0, $i, 1, 1971), 'custom', 'F');
}
$date_components = array(
"year" => array("Y", scheduler_range(2004, 2006)),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment