MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / timeZoneGetter

Function timeZoneGetter

lib/test/angular/1.7.0/angular.js:22065–22073  ·  view source on GitHub ↗
(date, formats, offset)

Source from the content-addressed store, hash-verified

22063}
22064
22065function timeZoneGetter(date, formats, offset) {
22066 var zone = -1 * offset;
22067 var paddedZone = (zone >= 0) ? '+' : '';
22068
22069 paddedZone += padNumber(Math[zone > 0 ? 'floor' : 'ceil'](zone / 60), 2) +
22070 padNumber(Math.abs(zone % 60), 2);
22071
22072 return paddedZone;
22073}
22074
22075function getFirstThursdayOfYear(year) {
22076 // 0 = index of January

Callers

nothing calls this directly

Calls 1

padNumberFunction · 0.70

Tested by

no test coverage detected