prettify date formatting in graph