Skip to content

Calendar min/max validation error #129

@ddudenin

Description

@ddudenin

When retrieving data for the month and year combobox, an error may occur during range validation because

if view_date.replace_month(min_month).unwrap() < calendar.min_date {

if view_date.replace_month(max_month).unwrap() > calendar.max_date {

if calendar.min_date.replace_month(month).unwrap() < calendar.min_date {

if calendar.max_date.replace_month(month).unwrap() > calendar.max_date {

causes a panic

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions