comparison core.js @ 1267:ff7d0fb646f1

Hotfix. date time node in results returned function reference for minutes.
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Tue, 22 Mar 2016 11:31:51 +0000
parents 037d1365f1c3
children a7ad6fc6a3b2
comparison
equal deleted inserted replaced
1266:6533f0c11d9a 1267:ff7d0fb646f1
2462 var time = storage.document.createElement("time"); 2462 var time = storage.document.createElement("time");
2463 date.setAttribute('year',dateTime.getFullYear()); 2463 date.setAttribute('year',dateTime.getFullYear());
2464 date.setAttribute('month',dateTime.getMonth()+1); 2464 date.setAttribute('month',dateTime.getMonth()+1);
2465 date.setAttribute('day',dateTime.getDate()); 2465 date.setAttribute('day',dateTime.getDate());
2466 time.setAttribute('hour',dateTime.getHours()); 2466 time.setAttribute('hour',dateTime.getHours());
2467 time.setAttribute('minute',dateTime.getMinutes); 2467 time.setAttribute('minute',dateTime.getMinutes());
2468 time.setAttribute('secs',dateTime.getSeconds()); 2468 time.setAttribute('secs',dateTime.getSeconds());
2469 2469
2470 hold.appendChild(date); 2470 hold.appendChild(date);
2471 hold.appendChild(time); 2471 hold.appendChild(time);
2472 return hold; 2472 return hold;