"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
    return cooked;
};
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var React = __importStar(require("react"));
var styled_components_1 = __importDefault(require("styled-components"));
var utils_1 = require("@joincivil/utils");
var styleConstants_1 = require("../styleConstants");
var StyledEventDate = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n  color: ", ";\n  font-size: 13px;\n  font-weight: bold;\n  line-height: 16px;\n  padding: 5px 0 0;\n  width: 148px;\n  min-width: 148px;\n  max-width: 148px;\n"], ["\n  color: ", ";\n  font-size: 13px;\n  font-weight: bold;\n  line-height: 16px;\n  padding: 5px 0 0;\n  width: 148px;\n  min-width: 148px;\n  max-width: 148px;\n"])), styleConstants_1.colors.primary.CIVIL_GRAY_2);
var EventDate = function (props) {
    var eventDateTimeStrings = utils_1.getLocalDateTimeStrings(props.timestamp);
    return React.createElement(StyledEventDate, null, eventDateTimeStrings[0]);
};
exports.default = EventDate;
var templateObject_1;
//# sourceMappingURL=EventDate.js.map