{"size": 323, "ext": "js", "max_stars_repo_path": "src/operatingTimezone/isInOperatingTimezone.js", "max_stars_repo_name": "KleeUT/hammertime", "max_stars_repo_stars_event_min_datetime": "2017-04-07T03:46:15.000Z", "max_stars_repo_stars_event_max_datetime": "2020-01-09T08:14:30.000Z", "max_issues_repo_path": "src/operatingTimezone/isInOperatingTimezone.js", "max_issues_repo_name": "KleeUT/hammertime", "max_issues_repo_issues_event_min_datetime": "2017-04-07T02:29:21.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-06T17:33:43.000Z", "max_forks_repo_path": "src/operatingTimezone/isInOperatingTimezone.js", "max_forks_repo_name": "KleeUT/hammertime", "max_forks_repo_forks_event_min_datetime": "2017-04-07T10:25:08.000Z", "max_forks_repo_forks_event_max_datetime": "2019-10-12T01:20:26.000Z"}
{"max_stars_count": 12, "max_issues_count": 36, "max_forks_count": 5, "avg_line_length": 29.3636363636, "max_line_length": 66, "alphanum_fraction": 0.7832817337}
const operatingTimezone = require('../tags/operatingTimezone');

function isInOperatingTimezone(currentOperatingTimezone) {
  return (tags) => {
    const resourceOperatingTimezone = operatingTimezone(tags);
    return resourceOperatingTimezone === currentOperatingTimezone;
  };
}

module.exports = isInOperatingTimezone;
