index.js
function clfdate (dateTime) {
  var date = dateTime.getUTCDate()
  var hour = dateTime.getUTCHours()
  var mins = dateTime.getUTCMinutes()
  var secs = dateTime.getUTCSeconds()
  var year = dateTime.getUTCFullYear()

  var month = CLF_MONTH[dateTime.getUTCMonth()]

  return pad2(date) + '/' + month + '/' + year +
    ':' + pad2(hour) + ':' + pad2(mins) + ':' + pad2(secs) +
    ' +0000'
}
function clfdate (dateTime) {
  var date = dateTime.getUTCDate()
  var hour = dateTime.getUTCHours()
  var mins = dateTime.getUTCMinutes()
  var secs = dateTime.getUTCSeconds()
  var year = dateTime.getUTCFullYear()

  var month = CLF_MONTH[dateTime.getUTCMonth()]

  return pad2(date) + '/' + month + '/' + year +
    ':' + pad2(hour) + ':' + pad2(mins) + ':' + pad2(secs) +
    ' +0000'
}
function clfdate ( dateTime ) { var date = dateTime . getUTCDate ( ) var hour = dateTime . getUTCHours ( ) var mins = dateTime . getUTCMinutes ( ) var secs = dateTime . getUTCSeconds ( ) var year = dateTime . getUTCFullYear ( ) var month = CLF_MONTH [ dateTime . getUTCMonth ( ) ] return pad2 ( date ) + '/' + month + '/' + year + ':' + pad2 ( hour ) + ':' + pad2 ( mins ) + ':' + pad2 ( secs ) + ' +0000' }
Format a Date in the common log format.

@private
@param {Date} dateTime
@return {string}
Format a Date in the common log format .