Skip to content

Issue : Inconsistent return in clean_date_time_zone #114

Open
@PrinceSajjadHussain

Description

@PrinceSajjadHussain

The function clean_date_time_zone returns either three values (date, date_time, time_zone_parsed) or raises a ValueError exception. There is no explicit return if the try block fails. It should return None or a default value on error if not raising an exception to guarantee consistent behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions