source: imaps-frontend/node_modules/react-use/lib/misc/parseTimeRanges.js@ d565449

main
Last change on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 343 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3function parseTimeRanges(ranges) {
4 var result = [];
5 for (var i = 0; i < ranges.length; i++) {
6 result.push({
7 start: ranges.start(i),
8 end: ranges.end(i),
9 });
10 }
11 return result;
12}
13exports.default = parseTimeRanges;
Note: See TracBrowser for help on using the repository browser.