comparison core.js @ 2175:d90cbba6299b

Hotfix. date time node in results returned function reference for minutes.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Tue, 22 Mar 2016 11:31:51 +0000
parents 4f769a43d8ed
children a7ad6fc6a3b2
comparison
equal deleted inserted replaced
2174:931d3a88e552 2175:d90cbba6299b
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;