berkmancenter / internet_dashboard

A dashboard with various internet-y widgets
MIT License
18 stars 13 forks source link

Change Takedown Requests x-axis tick format (#14333) #60

Closed mariamrf closed 7 years ago

mariamrf commented 7 years ago

Old format: "X time ago." Issue: Some tick labels were repeated (and were therefore ambiguous) - "6 months ago, 5 months ago, 5 months ago" for example - because the dates were too close to make a distinction in moment's fromNow() function. New format: the exact date, like this if it's from the current year: "Apr 7th", and if not: "Apr 7th 2016".