Lines Matching refs:hr
1617 var hr = 0;
1650 hr = parseInt(a[i], 10);
1655 if (/pm/i.test(a[i]) && hr < 12)
1656 hr += 12;
1657 else if (/am/i.test(a[i]) && hr >= 12)
1658 hr -= 12;
1672 if (isNaN(hr)) hr = today.getHours();
1680 return new Date(y, m, d, hr, min, 0);
1706 return new Date(y, m, d, hr, min, 0);
1768 var hr = this.getHours();
1769 var pm = (hr >= 12);
1770 var ir = (pm) ? (hr - 12) : hr;
1786 s["%H"] = (hr < 10) ? ("0" + hr) : hr; // hour, range 00 to 23 (24h format)
1789 s["%k"] = hr; // hour, range 0 to 23 (24h format)