src/_date-time.js
// but they don't provide a CJS build
but they don't provide a CJS build
but they don ' t provide a CJS build
function dateTime() {
  let date = new Date()
  let end = ''
  date = new Date(date.getTime() - (date.getTimezoneOffset() * 60000))
  return date
    .toISOString()
    .replace(/T/, ' ')
    .replace(/\..+/, end)
}
function dateTime ( ) { let date = new Date ( ) let end = '' date = new Date ( date . getTime ( ) - ( date . getTimezoneOffset ( ) * 60000 ) ) return date . toISOString ( ) . replace ( / T / , ' ' ) . replace ( / \..+ / , end ) }
but they don't provide a CJS build
but they don ' t provide a CJS build
// Offset the date so it will return the correct value when getting the ISO string.