feat: add timestamp to reports

This commit is contained in:
Karl-Philipp Wulfert
2019-04-17 15:45:25 +02:00
parent d86236e944
commit ad99e45ee3
2 changed files with 4 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ import {BOLD_LABELS, GROUPS, LABEL_WEIGHTS} from '../configuration';
export interface StructureForTemplate {
issuesByAssignee: AssigneeWithIssues[];
meetingDay: string;
timestamp: string;
}
/**
@@ -343,6 +344,7 @@ export async function generateReport(api: Api, label: string, template: string):
const structureForTemplate: StructureForTemplate = {
issuesByAssignee: issuesGroupedByAssignee,
meetingDay: getNextMeetingDay(),
timestamp: moment().format('LLL'),
};
return render(