-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
437 fixbug correction front ulam listes des missions #443
437 fixbug correction front ulam listes des missions #443
Conversation
Coverage Report for frontend
File Coverage
|
|
@@ -51,11 +52,15 @@ const formatShortDate = (date: DateTypes): string => formatDate(date, SHORT_DAY_ | |||
|
|||
const formatTime = (date: DateTypes): string => formatDate(date, SHORT_TIME, EMPTY_SHORT_TIME) | |||
|
|||
const formatDateFormMissionUlamName = (date: DateTypes): string => | |||
formatDate(date, MISSION_ULAM_NAME_FORMAT, EMPTY_FRENCH_DAY_MONTH_YEAR) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
il existe un hook useDate dans V2, c'est ce qu'il faut utiliser.
Il ne doit pas avoir de dépendance entre V2 et V1
import { | ||
formatDateForFrenchHumans, | ||
formatDateFormMissionUlamName | ||
} from '@common/utils/dates-for-humans.ts' | ||
import MissionCompletenessForStatsTag from './mission-completeness-for-stats-tag.tsx'; | ||
import MissionStatusTag from './mission-status-tag.tsx'; | ||
import MissionOpenByTag from '@features/pam/mission/components/elements/mission-open-by-tag.tsx'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pareil, pas de dépendances entre v1 et V2, si le component existe pas coté v2, le recréer, dans la bonne arborescence v2/common/components/(ui/elements/layout)
No description provided.