Corrected date to mediumDate in angular parlance