Changeset 15787 for schedule/Module
- Timestamp:
- 05/20/13 17:28:41 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r15786 r15787 81 81 var f = lines[row].split(','); 82 82 Time[row]="'"+f[0]+"'"; 83 var date = new Date(Time[row]);84 var Hours=date.getHours();85 var Minutes=date.getMinutes();86 var temp= Hours +'.'+ Minutes;87 colon.push(temp);88 83 //var DateT= new Date(Time); 89 84 //arr[row]="["+f[4]+"]"; … … 101 96 s.push(parseFloat(newline[c])); 102 97 } 103 98 for(var i=0; i<Time.length;i++) 99 { 100 var date = new Date(Time[i]); 101 var Hours=date.getHours(); 102 var Minutes=date.getMinutes(); 103 var temp= Hours +'.'+ Minutes; 104 colon.push(temp); 105 } 104 106 105 107 106 108 newdata=s; 107 document.getElementById('data').innerHTML= date;109 document.getElementById('data').innerHTML=Hours; 108 110 $(function () { 109 111 var data = '['+newdata+']';
Note:
See TracChangeset
for help on using the changeset viewer.