Changeset 15798
- Timestamp:
- 05/20/13 17:50:57 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r15797 r15798 81 81 { 82 82 var f = lines[row].split(','); 83 Time[row]="'"+f[0]+"'"; 84 //var DateT= new Date(Time); 83 Time[row]=f[0]; 84 var DateT= new Date('+'+f[0]+'"'); 85 colon[row]=DateT.getHours(); 85 86 //arr[row]="["+f[4]+"]"; 86 87 newline[row]=(parseFloat(f[4])||parseInt("0")); … … 97 98 s.push(parseFloat(newline[c])); 98 99 } 99 var temp = ""; 100 var Hours = ""; 101 for(var i=0;i<Time.length;i++) 102 { 103 var date = new Date(Time[i]); 104 colon[i]=date.getHours(); 105 var Minutes=date.getMinutes(); 106 //temp += Hours; 107 //colon.push(temp[i]); 108 } 100 109 101 110 102
Note:
See TracChangeset
for help on using the changeset viewer.