UNPKG

@backstage-community/plugin-scaffolder-backend-module-annotator

Version:

The annotator module for @backstage/plugin-scaffolder-backend

12 lines (9 loc) 294 B
'use strict'; const getCurrentTimestamp = (date) => { const dateObj = new Date(Date.now()); return `${dateObj.toLocaleDateString()}, ${dateObj.toLocaleTimeString( "en-US" )}`; }; exports.getCurrentTimestamp = getCurrentTimestamp; //# sourceMappingURL=getCurrentTimestamp.cjs.js.map