title: Efficient way to convert Datetime array to x-ticks in Javascript?
body: <p>I have an array of Javascript datetime objects which I would like to use as x-ticks for a bar graph. Being that default Datetime objects have a length &gt; 50, I'm interested in shortening the strings. The way I'm shortening the strings would depend on the delta between DateTimes.
  If the sequence was:
  <code>['Wed Jul 21 2021 11:15:40 GMT-0400 (Eastern Daylight Time)', 'Wed Jul 21 2021 12:15:40 GMT-0400 (Eastern Daylight Time)'...]</code> <br>
  I would want <code>['Wed 11:15:40', 'Wed 12:15:40']</code></p>
  <p>But for: <br>
  <code>['Thu Jul 22 2021 11:15:40 GMT-0400 (Eastern Daylight Time)', 'Fri Jul 23 2021 12:15:40 GMT-0400 (Eastern Daylight Time)'...]</code> <br>
  I would want <code>['Thu Jul 22, 21\'','Fri Jul 23, 21\'']</code></p>
  <p>Basically, I want to shorten datetimes to use them as tickers, what is an efficient way to handle this?</p>