Skip to content

Fix 500 on certain date input in donations#index #5608

Description

@ruestitch

From bugsnag, 20250825

It looks like the bank entered an open-ended date ...

NoMethodError donations#indexundefined method 'to_fs' for nil "during the period #{start_date.to_fs(:short)} to #{end_date.to_fs(:short)}" ^^^^^^ Did you mean? to_d

Image

It appears that this occurs when someone enters an open ended date in the picker. It also does not appear that it has any impact on the user.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions