"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.formatHour = formatHour;
var get_user_locale_1 = __importDefault(require("get-user-locale"));
function formatHour(locale, hour) {
    return hour.toLocaleString(locale || (0, get_user_locale_1.default)() || undefined);
}
