Change xeapi

This commit is contained in:
daleclack 2022-01-01 00:08:29 +08:00
parent 59e1543e65
commit 63fc2ff8cf
1 changed files with 1 additions and 1 deletions

View File

@ -4,6 +4,6 @@ int xeapi1(struct tm *local){
int year2=local->tm_year+1900,month2=local->tm_mon+1;
//printf("%d %d",year1,year2);
apiver=(year2-year1)*12-month1+month2+22;
if(local->tm_mday<7) apiver--;
//if(local->tm_mday<7) apiver--;
return apiver;
}