- Timestamp:
- 05/24/13 15:21:16 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16114 r16115 79 79 var Time = [[]]; 80 80 var Data = [[]]; 81 var TimeColon = []; 82 var MinTime = []; 83 var HourTime = []; 81 84 var source=['Crab','Mrk 501','Mrk 402']; 82 85 for(var i = 0; i<source.length;i++) … … 105 108 { 106 109 var SplitTime=Time[Splittedtime].split(':'); 107 varTimeColon[SplittedTime]=SplitTime[0];108 varMinTime[SplittedTime]=(parseInt(SplitTime[1]/60*100)||parseFloat("0"));110 TimeColon[SplittedTime]=SplitTime[0]; 111 MinTime[SplittedTime]=(parseInt(SplitTime[1]/60*100)||parseFloat("0")); 109 112 for(var TimeT=0;TimeT<TimeColon.length;TimeT++) 110 113 { 111 114 var SplittedT=TimeColon[TimeT].split('T'); 112 HourTime =(parseFloat(SplittedT[1])||parseFloat('0'));115 HourTime[TimeT]=(parseFloat(SplittedT[1])||parseFloat('0')); 113 116 } 114 117 }
Note:
See TracChangeset
for help on using the changeset viewer.