mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 08:33:11 +00:00
feat: add timestamp to reports
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user