This looks good, as another option. Could we not use `d3.timeFormat`? https://github.com/mbostock/d3/wiki/Time-Formatting