Skip to content

Commit

Permalink
Add time to exam deadline
Browse files Browse the repository at this point in the history
  • Loading branch information
Bri74 committed Feb 19, 2024
1 parent c8ae7ff commit f073644
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/features/teaching/screens/ExamScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import { useGetExams } from '../../../core/queries/examHooks';
import { useGetPerson } from '../../../core/queries/peopleHooks';
import { useGetCpdSurveys } from '../../../core/queries/surveysHooks';
import {
formatDateTime,
formatDate,
formatReadableDate,
formatTime,
Expand Down Expand Up @@ -182,7 +183,7 @@ export const ExamScreen = ({ route, navigation }: Props) => {
inverted
title={
exam?.bookingEndsAt
? formatReadableDate(exam?.bookingEndsAt)
? formatDateTime(exam?.bookingEndsAt)
: t('common.dateToBeDefined')
}
subtitle={t('examScreen.bookingEndsAt')}
Expand Down

0 comments on commit f073644

Please sign in to comment.