App icon indicating copy to clipboard operation
App copied to clipboard

[Due for payment 2026-11-14] [$175] Date picker: Highlight today's date in the calendar

Open melvin-bot[bot] opened this issue 1 month ago β€’ 23 comments

Problem

The calendar date picker doesn't show which day is today. To pick a relative date like "yesterday," you have to check another calendar app first.

Today's date was designed to have its own style, but the product doesn't show it.

Expected

Today's date is marked with a soft background, so it stands out from the other days. This style is separate from the selected date's green fill.

Reference:

Image

Actual

All days that aren't selected look the same.

Notes

Day only takes disabled, selected, pressed and hovered. It has no "today" state: https://github.com/Expensify/App/blob/f91330ace44748b17ae4c2a6d21c6d4a1cfcc4ed/src/components/DatePicker/CalendarPicker/Day.tsx#L12-L19

Possibly related: [Due for payment 2025-04-23] [$500] Update Datepicker UX

Reported in Slack.

Upwork Automation - Do Not Edit
Issue OwnerCurrent Issue Owner: @mallenexpensify

melvin-bot[bot] avatar Oct 27 '26 18:10 melvin-bot[bot]

@MelvinBot please implement this

NicolasBonet avatar Oct 27 '26 18:10 NicolasBonet

Proposal

What is the root cause of that problem?

The calendar never checks whether a day is today, so Day has nothing to style.

  • CalendarPicker works out only isDisabled and isSelected for each day. It passes only those two flags, plus hovered and pressed, to DayComponent (index.tsx:196-198, index.tsx:227-234).
  • DayProps has no "today" prop (Day.tsx:12-20).
  • When a day isn't selected, Day sets its background to theme.transparent. The hover/pressed style only adds a color while you hover or press (Day.tsx:33-34). So every day that isn't selected looks the same.

What changes do you think we should make in order to solve the problem?

  1. In CalendarPicker, compute isToday for each day with date-fns isToday(currentDate). The file already imports helpers from date-fns. Pass it to DayComponent as a new today prop.
  2. Add an optional today?: boolean to DayProps.
  3. In Day, choose the background in this order: selected β†’ theme.success, today β†’ theme.buttonDefaultBG, else theme.transparent. Keep the explicit color on every render for Android, as the existing comment explains. Hover and pressed still apply on top because they come later in the style array. In dark mode, buttonDefaultBG is #1A3D32, which matches the soft fill in the reference image.
  4. AvailableBookingDay (Schedule Call) also uses DayProps. It already gives every available day buttonDefaultBG. It can ignore the new prop, so that screen doesn't change.
Investigation details
  • The style for today must differ from hover. Hover uses buttonHoveredBG and pressed uses buttonPressedBG (styles/utils/index.ts:1726-1736). buttonDefaultBG is one step lighter than both, and it exists in the light and dark themes.
  • The day circle is already 30Γ—30 with borderRadius: 15 (styles/index.ts:1629-1636), so you only need to add a background color. You don't need a new style.
  • isToday uses the device's local date. That matches how CalendarPicker already picks its default month (new Date()).
  • When today is also selected, the green fill takes priority, as the issue expects.

What alternative solutions did you explore? (Optional)

  • Add "today" to the day's accessibility label so screen readers announce it too. This is optional and needs translations.
  • Use a ring (border) for today instead of a fill. The reference design shows a fill, so I didn't choose this.

Possibly related: Update date picker to allow typing in dates (another date picker change in progress, but it doesn't cover this).


Next Steps for Contributor+ team: To accept: @MelvinBot implement [this](https://github.com/Expensify/App/issues/105168) to create a draft PR. To refine: @MelvinBot <your feedback> To reject: Explain why you are rejecting Melvin's proposal.

MelvinBot avatar Oct 27 '26 18:10 MelvinBot

Triggered auto assignment to Contributor-plus team member for initial proposal review - @linhvovan29546 (External)

melvin-bot[bot] avatar Oct 27 '26 18:10 melvin-bot[bot]

Job added to Upwork: https://www.upwork.com/jobs/~022115149682889004762

melvin-bot[bot] avatar Oct 27 '26 18:10 melvin-bot[bot]

πŸ€– Draft PR created: Highlight today's date in the calendar picker Please mark it as "Ready for review" or ask me to do that for you when it is ready for review.

Today's date now has a soft buttonDefaultBG fill. The selected day's green fill still takes priority. The calendar unit tests (55), typecheck, lint, spelling and React Compiler checks pass.

  • I couldn't check the change in the browser, because the automated web session loaded a blank page. Screenshots are still needed.
  • In both themes, the today fill is the same color as the day hover fill. Design may want a different token.

MelvinBot avatar Oct 27 '26 18:10 MelvinBot

Contributor details Your Expensify account email: [email protected] Upwork Profile Link: https://www.upwork.com/freelancers/~01af851c9a7f771775

Proposal

Please re-state the problem that we are trying to solve in this issue.

The calendar date picker renders every unselected day the same way, so nothing marks today's date. Users have to check another calendar app to pick a relative date like "yesterday".

What is the root cause of that problem?

DayProps in src/components/DatePicker/CalendarPicker/Day.tsx only accepts disabled, selected, pressed, hovered and children, so Day has no today state. The container backgroundColor is selected ? theme.success : theme.transparent, which leaves every unselected day transparent. src/components/DatePicker/CalendarPicker/index.tsx also never works out whether a given cell is today, so it has nothing to pass down.

What changes do you think we should make in order to solve the problem?

  1. In Day.tsx, add an optional isToday?: boolean to DayProps. The prop is optional, so existing callers, custom DayComponent implementations and unit tests keep working without changes.
  2. In Day.tsx, change the explicit container backgroundColor to selected ? theme.success : isToday && !disabled ? theme.buttonDefaultBG : theme.transparent.
    • The green fill for selected still wins over the today style.
    • A today that is disabled by minDate, maxDate or isDateSelectable stays neutral.
    • The explicit backgroundColor stays, so the Android repaint behavior described in the existing comment is unchanged.
    • The existing !disabled && !selected call to StyleUtils.getButtonBackgroundColorStyle stays as it is. Its default state returns {}, so today's soft background shows at rest, and the hover and press states still override it.
  3. In index.tsx, compute isToday per cell inside the week.map, using the cell's own currentDate and not the day-of-month number. The expression is !!currentDate && isSameDay(currentDate, new Date()). isSameDay is already imported from date-fns, and the !!currentDate guard covers the blank grid cells that have no date. Pass the result to DayComponent as isToday={isToday}.
  4. Add a case to the existing CalendarPicker unit test. It should check that the cell for today gets the today background, that a selected today keeps the success fill, and that a today outside minDate and maxDate is not highlighted.

What alternative solutions did you explore? (Optional)

I considered calling isToday(currentDate) once at the top level of CalendarPicker, but currentDate there follows the month being viewed and not an individual cell. That check would give one answer for the whole grid, so it would either highlight every day or none. I also considered applying theme.buttonDefaultBG whenever the day is today, without checking disabled. That would highlight a today that minDate, maxDate or isDateSelectable has made unselectable, which wrongly suggests it can be picked. Checking each cell with isSameDay and guarding with !disabled avoids both problems, and it leaves the selected and hover styling alone.

taieddie avatar Oct 27 '26 19:10 taieddie

βœ… Contributor details stored successfully. Thank you for contributing to Expensify!

melvin-bot[bot] avatar Oct 27 '26 19:10 melvin-bot[bot]

Proposal

Please re-state the problem that we are trying to solve in this issue.

In the calendar date picker (CalendarPicker), today's date looks identical to every other unselected date in the month. When Today is not currently selected, it should display a subtle circular background highlight (theme.border) and expose aria-current="date" for accessibility, while still showing the green circle (theme.success) when selected and preserving hover/press feedback.

What is the root cause of that problem?

  1. In src/components/DatePicker/CalendarPicker/index.tsx (lines 196–234), when rendering each day cell in calendarDaysMatrix, the component only computes isDisabled and isSelected:

    • It never checks whether currentDate is today (isToday(currentDate) from date-fns).
    • It never sets aria-current={isCurrentDay ? 'date' : undefined} on the day PressableWithoutFeedback.
    • It never passes a today prop to <DayComponent>.
  2. In src/components/DatePicker/CalendarPicker/Day.tsx (lines 12–36), DayProps only accepts disabled and selected, and applies:

    <View
        style={[
            styles.calendarDayCircle,
            StyleUtils.getButtonBackgroundColorStyle(getButtonState({isActive: hovered, isPressed: pressed}), true),
            {backgroundColor: selected ? theme.success : theme.transparent},
            disabled ? styles.buttonOpacityDisabled : {},
        ]}
    >
    
  3. Important style-precedence edge case in Day.tsx: In src/styles/utils/index.ts (lines 1726–1737), StyleUtils.getButtonBackgroundColorStyle(buttonState, true) returns:

    • {backgroundColor: theme.border} when buttonState === CONST.BUTTON_STATES.ACTIVE (hovered)
    • {backgroundColor: theme.buttonHoveredBG} when buttonState === CONST.BUTTON_STATES.PRESSED (pressed)
    • {} when DEFAULT

    Because {backgroundColor: selected ? theme.success : theme.transparent} is placed after StyleUtils.getButtonBackgroundColorStyle(..., true) in the style array in Day.tsx, it unconditionally overwrites the backgroundColor returned by getButtonBackgroundColorStyle! If we simply change that trailing object to {backgroundColor: selected ? theme.success : today ? theme.border : theme.transparent}, pressing Today (pressed === true) will still be overwritten by theme.border instead of showing the pressed theme.buttonHoveredBG state, and hovering any unselected non-today date is overwritten by theme.transparent.

What changes do you think we should make in order to solve the problem?

  1. src/components/DatePicker/CalendarPicker/index.tsx:

    • Import isToday from date-fns.
    • Inside the week.map loop (around line 198), compute const isCurrentDay = isToday(currentDate);.
    • Pass aria-current={isCurrentDay ? 'date' : undefined} to the day's PressableWithoutFeedback.
    • Pass today={isCurrentDay} to <DayComponent>.
    const isCurrentDay = isToday(currentDate);
    
    <PressableWithoutFeedback
        key={`day_${dayIndex}`}
        disabled={isDisabled}
        onPress={() => onDayPressed(currentDate)}
        style={styles.calendarDayContainer}
        accessibilityLabel={format(currentDate, CONST.DATE.MONTH_DAY_YEAR_FORMAT)}
        aria-selected={isSelected}
        aria-current={isCurrentDay ? 'date' : undefined}
        aria-disabled={isDisabled}
        ...
    >
        {({hovered, pressed}) => (
            <DayComponent
                selected={isSelected}
                disabled={isDisabled}
                today={isCurrentDay}
                hovered={hovered}
                pressed={pressed}
            >
                {getDate(currentDate)}
            </DayComponent>
        )}
    </PressableWithoutFeedback>
    
  2. src/components/DatePicker/CalendarPicker/Day.tsx:

    • Add today?: boolean; to DayProps and default today = false.
    • Place the resting today background (today && {backgroundColor: theme.border}) before StyleUtils.getButtonBackgroundColorStyle(getButtonState({isActive: hovered, isPressed: pressed}), true) and place selected && {backgroundColor: theme.success} after it:
    function Day({disabled = false, selected = false, today = false, pressed = false, hovered = false, children}: DayProps) {
        const theme = useTheme();
        const styles = useThemeStyles();
        const StyleUtils = useStyleUtils();
        return (
            <View
                style={[
                    styles.calendarDayCircle,
                    today && {backgroundColor: theme.border},
                    StyleUtils.getButtonBackgroundColorStyle(getButtonState({isActive: hovered, isPressed: pressed}), true),
                    selected && {backgroundColor: theme.success},
                    disabled ? styles.buttonOpacityDisabled : {},
                ]}
            >
                <Text style={selected ? styles.buttonDefaultText : {}}>{children}</Text>
            </View>
        );
    }
    

    This guarantees:

    • Today (unselected, at rest): theme.border circular background with default text color.
    • Today (unselected, pressed): StyleUtils.getButtonBackgroundColorStyle overrides theme.border with theme.buttonHoveredBG.
    • Other days (unselected, hovered/pressed): StyleUtils.getButtonBackgroundColorStyle applies theme.border on hover and theme.buttonHoveredBG on press without being clobbered by theme.transparent.
    • Today (selected): selected && {backgroundColor: theme.success} overrides the background with theme.success and styles.buttonDefaultText.
  3. tests/ui/components/CalendarPickerTest.tsx:

    • Add unit tests verifying that today's date cell has aria-current="date" and backgroundColor: theme.border when unselected, backgroundColor: theme.success when selected, and that non-today dates do not have aria-current.

What alternative solutions did you explore? (Optional)

  • Placing {backgroundColor: selected ? theme.success : today ? theme.border : theme.transparent} at the end of the style array in Day.tsx was considered and rejected because an unconditional trailing backgroundColor overrides StyleUtils.getButtonBackgroundColorStyle(..., true), breaking both pressed feedback on Today and hover feedback on unselected dates.

huhuli083-creator avatar Oct 27 '26 19:10 huhuli083-creator

Proposal

Please re-state the problem that we are trying to solve in this issue.

In the calendar date picker (CalendarPicker), today's date has no visual distinction from other unselected dates when it is not currently selected, making it harder for users to quickly orient themselves in the calendar.

What is the root cause of that problem?

  1. In src/components/DatePicker/CalendarPicker/index.tsx, each day cell computes isSelected and isDisabled from currentDate, but never checks whether currentDate is today (isToday(currentDate) from date-fns) or passes an isToday prop to <Day />.
  2. In src/components/DatePicker/CalendarPicker/Day.tsx, the inner day circle only switches backgroundColor between theme.success (when selected) and theme.transparent (when unselected):
    style={[
        themeStyles.calendarDayContainer,
        {backgroundColor: selected ? theme.success : theme.transparent},
        !disabled && !selected ? StyleUtils.getButtonBackgroundColorStyle(getButtonState({isActive: hovered, isPressed: pressed}), true) : {},
    ]}
    
    Because unselected days always fall back to theme.transparent, today's date looks identical to every other date in the month.

What changes do you think we should make in order to solve the problem?

  1. src/components/DatePicker/CalendarPicker/Day.tsx:

    • Add isToday?: boolean to CalendarPickerDayProps (defaulting to false in Day props).
    • Update the explicit inline backgroundColor object (which must remain an explicit inline style object so Android Fabric properly clears/repaints the fill when changing states) to use theme.buttonDefaultBG when isToday && !disabled and not selected:
      type CalendarPickerDayProps = {
          disabled?: boolean;
          selected?: boolean;
          isToday?: boolean;
          pressed?: boolean;
          hovered?: boolean;
          children: React.ReactNode;
      };
      
      function Day({disabled, selected, isToday = false, pressed, hovered, children}: CalendarPickerDayProps) {
          const theme = useTheme();
          const themeStyles = useThemeStyles();
          const StyleUtils = useStyleUtils();
          return (
              <View
                  style={[
                      themeStyles.calendarDayContainer,
                      {backgroundColor: selected ? theme.success : isToday && !disabled ? theme.buttonDefaultBG : theme.transparent},
                      !disabled && !selected ? StyleUtils.getButtonBackgroundColorStyle(getButtonState({isActive: hovered, isPressed: pressed}), true) : {},
                  ]}
              >
      
    • Why this ordering and guard work cleanly:
      • When selected is true, theme.success takes precedence so selecting today shows the standard green selected state.
      • When isToday && !disabled and not selected, the resting background is theme.buttonDefaultBG. Because StyleUtils.getButtonBackgroundColorStyle(..., true) is placed after it in the style array, hovering (theme.border) and pressing (theme.buttonHoveredBG) naturally override theme.buttonDefaultBG without any style conflict, and moving the pointer away restores theme.buttonDefaultBG (whereas getButtonBackgroundColorStyle returns {} in the default state).
      • Guarding with !disabled ensures that if today falls outside minDate/maxDate, it does not look like an active interactive button while disabled.
  2. src/components/DatePicker/CalendarPicker/index.tsx:

    • Import isToday from date-fns alongside the existing date-fns imports (line 16).
    • Inside the calendarDaysMatrix map (around line 198), compute const isCurrentDateToday = isToday(currentDate);.
    • Pass aria-current={isCurrentDateToday ? 'date' : undefined} to the day's PressableWithoutFeedback for accessibility (screen readers announce today's cell appropriately) and pass isToday={isCurrentDateToday} to <Day />:
      const isCurrentDateToday = isToday(currentDate);
      ...
      <PressableWithoutFeedback
          key={`day_${dayOfMonth}`}
          disabled={isDisabled}
          onPress={() => onDayPressed(currentDate)}
          style={styles.calendarDayRoot}
          accessibilityLabel={dayOfMonth.toString()}
          aria-selected={isSelected}
          aria-current={isCurrentDateToday ? 'date' : undefined}
          ...
      >
          {({pressed, hovered}) => (
              <Day
                  selected={isSelected}
                  disabled={isDisabled}
                  isToday={isCurrentDateToday}
                  hovered={hovered}
                  pressed={pressed}
              >
                  {dayOfMonth}
              </Day>
          )}
      </PressableWithoutFeedback>
      
  3. Unit Tests (tests/ui/components/CalendarPickerTest.tsx):

    • Add a test verifying that today's date cell renders with theme.buttonDefaultBG when unselected, switches to theme.success when selected, and sets aria-current="date".

What alternative solutions did you explore? (Optional)

  • Outlining today's date with a border instead of a background fill: rejected because the issue specifically requests highlighting today's date in the calendar, and theme.buttonDefaultBG matches Expensify's existing subtle surface token while stepping up cleanly to theme.border on hover and theme.buttonHoveredBG on press.

Enes2553 avatar Oct 27 '26 22:10 Enes2553

Please re-state the problem that we are trying to solve in this issue.

The calendar date picker renders every unselected day identically, so nothing marks today's date. To pick a relative date like "yesterday", a user has to check another calendar app first. The design calls for today to have its own soft-background style, separate from the selected date's green fill.

What is the root cause of that problem?

DayProps in src/components/DatePicker/CalendarPicker/Day.tsx only accepts disabled, selected, pressed, hovered and children, so a Day cell has no today state, and its container background is selected ? theme.success : theme.transparent, leaving every unselected day transparent. src/components/DatePicker/CalendarPicker/index.tsx never works out whether a given cell is today, so it has nothing to pass down.

What changes do you think we should make in order to solve the problem?

  • In Day.tsx, add an optional isToday?: boolean to DayProps. Optional, so existing callers, custom DayComponent implementations and unit tests keep working without changes.
  • In Day.tsx, give a today cell the designed soft background (selected ? theme.success : isToday && !disabled ? theme.buttonDefaultBG : theme.transparent), keeping the green selected fill winning over the today style, and keeping a today disabled by minDate, maxDate or isDateSelectable neutral so it does not look pickable.
  • In addition to the background, give the today cell a non-colour cue: a semibold day number and an accessibilityLabel marking it as today. Background alone is not enough for users who cannot reliably perceive the shade difference, and the existing hover/press states (from StyleUtils.getButtonBackgroundColorStyle, whose default state returns {}) still override at rest correctly.
  • In index.tsx, compute isToday per cell inside the week.map, using the cell's own currentDate and not the day-of-month number: !!currentDate && isSameDay(currentDate, new Date()). isSameDay is already imported from date-fns, and the !!currentDate guard covers the blank grid cells that have no date. Pass it to DayComponent as isToday={isToday}. Because the computation is per cell, viewing a month other than the current one highlights nothing, which is correct.

What automated tests can you add to prevent this from re-occurring?

  • Extend the existing CalendarPicker unit test: the cell for today gets the today background and the today label, a selected today keeps the success fill, a today outside minDate/maxDate is not highlighted, and a month view that is not the current month highlights no cell.

What will I verify?

  • Open the date picker in the current month and confirm today stands out from other days, in both light and dark themes.
  • Select today and confirm the green selected fill wins.
  • View another month and confirm no day is highlighted as today.
  • Confirm hover and press states on the today cell still work, and that a disabled today (outside min/max date) stays neutral.

khizzcr7 avatar Oct 28 '26 00:10 khizzcr7

@MelvinBot can you check why there was a regression with this and also can you adjust the PR so we have a better coverage in testing to make sure the background is always different in today's date?

NicolasBonet avatar Oct 28 '26 13:10 NicolasBonet

Why it regressed

The calendar never had its own "today" style. Today only stood out because CalendarPicker defaulted value to new Date(). As a result, an empty picker showed today as the selected day.

Limit calendar year and month navigation to minDate and maxDate (merged 2026-10-13) removed that default, so an empty picker stopped acting as if today was picked. That change was correct, but it also removed the only thing that marked today. No test checked for a today marker, so nothing failed.

Evidence

Test coverage added to the PR

I pushed a commit to Highlight today's date in the calendar picker. The old tests used a mock Day. The new tests render the real Day and check the background color of every day in the month.

The tests pin "today" to a mid-month day, the 1st, the 31st, December 31 and February 29. They check that:

  • With no value, only today has the today fill.
  • With another day selected, that day is green and today keeps its fill.
  • A selected today is green.
  • A today that can't be selected still has its fill.
  • Another month has no today fill.
  • In all 4 themes, the today fill differs from transparent, the page backgrounds and green.

If you remove the fix, 11 tests fail.

The calendar tests (74), typecheck, lint and spell check pass. I couldn't run the formatter (oxfmt) here, so CI may still flag formatting.

MelvinBot avatar Oct 28 '26 14:10 MelvinBot

Just merged, should be out soon.

NicolasBonet avatar Nov 06 '26 14:11 NicolasBonet

Proposal

Please re-state the problem that we are trying to solve in this issue.

In the CalendarPicker component used across date pickers in the app, today's date has no visual distinction when it is not currently selected, making it harder for users to orient themselves in the calendar. We want to highlight today's date with a soft background fill when unselected while keeping the existing dark green fill when selected.

What is the root cause of that problem?

In src/components/DatePicker/CalendarPicker/index.tsx (lines 196–198 and 227–234), each calendar cell computes only isDisabled and isSelected and renders Day (src/components/DatePicker/CalendarPicker/Day.tsx). Neither CalendarPicker/index.tsx nor CalendarPicker/Day.tsx checks whether a calendar day matches today's local date (isSameDay(day, new Date())), and Day.tsx only applies styles.buttonDefaultBG when selected is true.

What changes do you think we should make in order to solve the problem?

  1. In src/components/DatePicker/CalendarPicker/index.tsx:
    • Import isSameDay from date-fns (or use DateUtils.isToday / isSameDay(new Date(currentYearView, currentMonthView, day), new Date())).
    • Compute const isToday = isSameDay(dayDate, new Date()); for each day cell in the matrix and pass isToday={isToday} to <Day />.
  2. In src/components/DatePicker/CalendarPicker/Day.tsx:
    • Add isToday?: boolean to DayProps.
    • When isToday && !selected, apply the soft highlight background style (e.g., styles.calendarDayToday using theme.border / theme.highlightBG or styles.hoveredComponentBG per the design spec) so today's date has a subtle circular/rounded background fill when unselected, while selected continues to take precedence with styles.buttonSuccessBG / active selected styling.

What alternative solutions did you explore? (Optional)

We considered checking isSameDay inside Day.tsx, but Day.tsx only receives the numeric day of the month (children: number) without currentMonthView and currentYearView, so computing isToday in CalendarPicker/index.tsx where the full year, month, and day are known is cleaner and avoids passing extra date parts into Day.

jeffrey-graham avatar Nov 07 '26 07:11 jeffrey-graham

πŸ“£ @jeffrey-graham! πŸ“£ Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork. Please follow these steps:

  1. Make sure you've read and understood the contributing guidelines.
  2. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  3. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
  4. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details. Screen Shot 2022-11-16 at 4 42 54 PM Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

melvin-bot[bot] avatar Nov 07 '26 07:11 melvin-bot[bot]

@linhvovan29546

The solution for this issue has been :rocket: deployed to production :rocket: in version 9.5.33-1 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

  • https://github.com/Expensify/App/pull/105171

If no regressions arise, payment will be issued on 2026-11-14. :confetti_ball:

The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the Contributor+ Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]. If no checklist is needed for this issue, you can click: [no checklist button]

melvin-bot[bot] avatar Nov 07 '26 20:11 melvin-bot[bot]

Contributor+ Checklist:

  • [x] [Contributor] The offending PR and associated issue have been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.

    Link to the comment on the PR: N/A new feature Link to the comment on the Issue: N/A new feature

  • [ ] [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.

    Link to discussion:

  • [x] [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

Regression Test Proposal

Test:

  1. Create a new expense
  2. Open the date picker
  3. Select a day different than today
  4. Verify that Today's date is highlighted

Do we agree πŸ‘ or πŸ‘Ž

linhvovan29546 avatar Nov 10 '26 07:11 linhvovan29546

Triggered auto assignment to @mallenexpensify (Awaiting Payment)

melvin-bot[bot] avatar Nov 13 '26 21:11 melvin-bot[bot]

Payment Summary

Resolving PRs:

  • https://github.com/Expensify/App/pull/105171

  • Reviewer: @linhvovan29546 owed $175 via NewDot

BugZero Checklist (@mallenexpensify)

  • [ ] I have confirmed assignees, roles, and Upwork contracts look correct
  • [ ] I have paid out Upwork contracts / manual NewDot requests
  • [ ] [BugZero Assignee] I have created a GH issue for creating/updating the regression test once above steps have been agreed upon

melvin-bot[bot] avatar Nov 13 '26 21:11 melvin-bot[bot]

Not overdue

NicolasBonet avatar Nov 16 '26 18:11 NicolasBonet