[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Summary view] [Print] [Text view]
1 function format_date(date){ 2 var y = date.getFullYear(), 3 m = date.getMonth() + 1, 4 d = date.getDate(), 5 h = date.getHours(), 6 i = date.getMinutes(), 7 s = date.getSeconds(), 8 l = date.getMilliseconds(); 9 function z(i){return (i <= 9 ? '0'+i : i);} 10 return y+'-'+z(m)+'-'+z(d)+' '+z(h)+':'+z(i)+':'+z(s)+'.'+z(l); 11 } 12 13 14 function datesEqual(actual, expected, message){ 15 QUnit.push(QUnit.equiv(actual, expected), format_date(actual), format_date(expected), message); 16 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |