修改年级计算

This commit is contained in:
cxdbz committed 2020-01-01 20:51:26 +08:00
1 parent 0c1a44be74
commit 7516401795
3 files changed
+7 -4

No files matched your search

+3 -1
View File
@@ -51,9 +51,11 @@ function nianjiList($riqi=0)
{
$jiedian = strtotime(date('Y').'-8-1');
$thisday = time();
$nian = date('Y');
}else{
$jiedian = strtotime(date('Y',$riqi).'-8-1');
$thisday = $riqi;
$nian = date('Y',$riqi);
}
@@ -65,7 +67,7 @@ function nianjiList($riqi=0)
}
$nian = date('Y') - $str;
$nian = $nian - $str;
$njlist = array();