Skip to content

Commit

Permalink
#306 Display correct event date in event tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
mekiert committed Feb 4, 2020
1 parent 4c13a60 commit b64ffd7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export class LineChartService {
container.className = 'gridContainer';

const dateItem = document.createElement('div');
dateItem.append(event.eventDate.toLocaleString());
dateItem.append(new Date(event.eventDate).toLocaleString());
container.append(dateItem);

const shortNameItem = document.createElement('div');
Expand Down

0 comments on commit b64ffd7

Please sign in to comment.