forked from enlightenment/enlightenment
ferite refuses to compile the script if I use >=. any ideas???
SVN revision: 5932
This commit is contained in:
parent
dcb669d3e3
commit
55f5d03b2f
|
@ -21,9 +21,10 @@ function clock_update(object data, number val){
|
|||
string seconds = String.copySection(time,6,8);
|
||||
string timeofday = "AM";
|
||||
|
||||
if(hour>=12){
|
||||
if(hour > 12 || hour==12){
|
||||
/* if(hour >= 12){*/
|
||||
timeofday = "PM";
|
||||
hour = hour - 12;
|
||||
hour -= 12;
|
||||
}
|
||||
else if(hour==0) hour = 12;
|
||||
|
||||
|
|
Loading…
Reference in New Issue