Skip to content

Commit

Permalink
fix start date
Browse files Browse the repository at this point in the history
  • Loading branch information
pasyukevich committed Jan 31, 2024
1 parent e0a0f61 commit f14a7ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ReportActionItem/ChronosOOOListActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function ChronosOOOListActions({reportID, action}: ChronosOOOListActionsProps) {
<OfflineWithFeedback pendingAction={action.pendingAction}>
<View style={styles.chatItemMessage}>
{events.map((event) => {
const start = DateUtils.getLocalDateFromDatetime(preferredLocale, event?.end?.date ?? '');
const start = DateUtils.getLocalDateFromDatetime(preferredLocale, event?.start?.date ?? '');
const end = DateUtils.getLocalDateFromDatetime(preferredLocale, event?.end?.date ?? '');
return (
<View
Expand Down

0 comments on commit f14a7ca

Please sign in to comment.