date formatting

added a function to strip the year from dates on graphs, as it was
taking up too much space