"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.formatScreenshotFilename = formatScreenshotFilename;
function formatScreenshotFilename(timestamp, id) {
    const d = new Date(timestamp);
    const prefix = [
        String(d.getUTCFullYear()),
        String(d.getUTCMonth() + 1).padStart(2, '0'),
        String(d.getUTCDate()).padStart(2, '0'),
        'T',
        String(d.getUTCHours()).padStart(2, '0'),
        String(d.getUTCMinutes()).padStart(2, '0'),
        String(d.getUTCSeconds()).padStart(2, '0'),
        String(d.getUTCMilliseconds()).padStart(3, '0')
    ].join('');
    return `${prefix}-${id}.png`;
}
//# sourceMappingURL=screenshotFilename.js.map