Mon Mar 10 2025
tucker.mcknight@gmail.com
Not using `darcs log --machine-readable` anymore (see https://bugs.darcs.net/issue2740), which means the date in the log output is now in a human-readable format that JS happens to interpret automatically when you pass it into `new Date(dateString)`.
ad3d1d5d3814810a3b40c68282d3a3fc66a0dc51
const year = dateString.slice(0, 4)
const month = dateString.slice(4, 6)
const day = dateString.slice(6, 8)
return new Date(`${year}-${month}-${day}`).toDateString()
return new Date(dateString)