UNPKG

@kiwicom/orbit-tracking

Version:

Tracking for orbit design system

14 lines (9 loc) 409 B
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/helpers/date.ts var timestamp = () => { const month2 = new Date().getMonth() + 1; const year = new Date().getFullYear(); const hour = new Date().getHours(); return `${month2}-${year}-${hour}`; }; var month = new Date().toLocaleString("en-US", { month: "long" }); exports.timestamp = timestamp; exports.month = month;