Skip to content

Commit

Permalink
Merge pull request #431 from suvarnakale/release-1.0.0
Browse files Browse the repository at this point in the history
Issue #PS-2673 feat: change clock to Hour:Minute:AM/PM
  • Loading branch information
itsvick authored Nov 26, 2024
2 parents 610ddf1 + f8844f2 commit fff0bed
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/PlannedSession.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ import SessionMode from './SessionMode';
import { showToastMessage } from './Toastify';
import WeekDays from './WeekDays';
import { getOptionsByCategory } from '@/utils/Helper';
import { MobileTimePicker } from '@mui/x-date-pickers/MobileTimePicker';
// import { MobileTimePicker } from '@mui/x-date-pickers/MobileTimePicker';
import { telemetryFactory } from '@/utils/telemetry';

dayjs.extend(utc);
Expand Down Expand Up @@ -1456,7 +1456,7 @@ const PlannedSession: React.FC<PlannedModalProps> = ({
<Grid sx={{ paddingTop: '0px !important' }} item xs={6}>
<Box sx={{ mt: 3 }}>
<LocalizationProvider dateAdapter={AdapterDayjs}>
<MobileTimePicker
<TimePicker
label={t('CENTER_SESSION.START_TIME')}
value={
editSession ? startTime : block?.sessionStartTime
Expand All @@ -1477,7 +1477,7 @@ const PlannedSession: React.FC<PlannedModalProps> = ({
<Grid sx={{ paddingTop: '0px !important' }} item xs={6}>
<Box sx={{ mt: 3 }}>
<LocalizationProvider dateAdapter={AdapterDayjs}>
<MobileTimePicker
<TimePicker
label={t('CENTER_SESSION.END_TIME')}
value={
editSession ? endTime : block?.sessionEndTime
Expand Down Expand Up @@ -1535,7 +1535,7 @@ const PlannedSession: React.FC<PlannedModalProps> = ({
>
<Box sx={{ mt: 3 }}>
<LocalizationProvider dateAdapter={AdapterDayjs}>
<MobileTimePicker
<TimePicker
label={t('CENTER_SESSION.START_TIME')}
value={
editSession ? startTime : block?.sessionStartTime
Expand All @@ -1560,7 +1560,7 @@ const PlannedSession: React.FC<PlannedModalProps> = ({
>
<Box sx={{ mt: 3 }}>
<LocalizationProvider dateAdapter={AdapterDayjs}>
<MobileTimePicker
<TimePicker
label={t('CENTER_SESSION.END_TIME')}
value={editSession ? endTime : block?.sessionEndTime}
onChange={(newValue) =>
Expand Down

0 comments on commit fff0bed

Please sign in to comment.