comparison core.js @ 633:5b902e1f737c Dev_main

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 520c4525c9b3
children 501997c0f61f
comparison
equal deleted inserted replaced
632:9e4fb381944e 633:5b902e1f737c
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;