Skip to content

All weekly expiry not included #1

@ghost

Description

datelist=re.findall('[0-9]{2}[A-Z]{3}[0-9]{4}', rawlist) misses out on weekly expiries like 2Jan2020.

datelist.sort(key = lambda date: datetime.datetime.strptime(date, '%d%b%Y')) can preserve chronological order.

I couldn't get the UI to start, but that could be because I was working with virtualenv

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