diff --git a/orga/app/components/statistics/index.gjs b/orga/app/components/statistics/index.gjs index 501ede62c47..037caa49e06 100644 --- a/orga/app/components/statistics/index.gjs +++ b/orga/app/components/statistics/index.gjs @@ -1,6 +1,7 @@ import PixPagination from '@1024pix/pix-ui/components/pix-pagination'; import { service } from '@ember/service'; import Component from '@glimmer/component'; +import dayjs from 'dayjs'; import { t } from 'ember-intl'; import Header from '../table/header'; @@ -39,9 +40,15 @@ export default class Statistics extends Component { return this.analysisByTubes.slice(start, end); } + get extractedDate() { + return dayjs(this.analysisByTubes[0]?.extraction_date).format('D MMM YYYY'); + } +