web/js/selectors/log.js
/**
 * Truncates a date to midnight.
 */
Truncates a date to midnight.
Truncates a date to midnight .
function truncateDate (date ) {
  date = new Date(date)
  date.setMilliseconds(0)
  date.setSeconds(0)
  date.setMinutes(0)
  date.setHours(0)
  return date
}
function truncateDate ( date ) { date = new Date ( date ) date . setMilliseconds ( 0 ) date . setSeconds ( 0 ) date . setMinutes ( 0 ) date . setHours ( 0 ) return date }
Truncates a date to midnight.
Truncates a date to midnight .
/*: Date */