Bug Fixed #532
This commit is contained in:
parent
601359440d
commit
8217d8b873
|
@ -13,8 +13,12 @@ class Date {
|
||||||
return $date;
|
return $date;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Get the array of dates from the language file
|
||||||
$dates = $Language->getDates();
|
$dates = $Language->getDates();
|
||||||
return str_replace(array_keys($dates), array_values($dates), $date);
|
foreach ($dates as $english=>$anotherLang) {
|
||||||
|
$date = preg_replace('/\b'.$english.'\b/u', $anotherLang, $date);
|
||||||
|
}
|
||||||
|
return $date;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Return current Unix timestamp, GMT+0
|
// Return current Unix timestamp, GMT+0
|
||||||
|
|
Loading…
Reference in New Issue