Merge branch 'master' of ssh://sole.cmaffio.it:442/srv/git/pannello
This commit is contained in:
@@ -673,4 +673,13 @@ class html {
|
||||
|
||||
}
|
||||
|
||||
function sistemadata ($datain) {
|
||||
if ($datain == "") return "";
|
||||
$pezzi = preg_split("/[\.\/-]+/", $datain);
|
||||
if (strlen($pezzi[2]) == 2) {
|
||||
$pezzi[2] = "20".$pezzi[2];
|
||||
}
|
||||
return $pezzi[0].".".$pezzi[1].".".$pezzi[2];
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user