Fix 12 am/pm

This commit is contained in:
Orange_Dugongo 2016-10-21 14:43:59 +02:00
parent a8e5494aa0
commit e333912462

View File

@ -81,6 +81,7 @@ public class Time{
this.h=(totm/60)%24; this.h=(totm/60)%24;
if(this.h==0){ if(this.h==0){
this.h+=12; this.h+=12;
this.id="am";
}else if(this.h==12){ }else if(this.h==12){
this.id="pm"; this.id="pm";
}else if(this.h>12){ }else if(this.h>12){