Fix 12 am/pm

This commit is contained in:
Orange_Dugongo 2016-10-21 14:43:59 +02:00
parent a8e5494aa0
commit e333912462
1 changed files with 1 additions and 0 deletions

View File

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