Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: AttributeError in Fyyur starter code #40

Closed
wants to merge 1 commit into from
Closed

fix: AttributeError in Fyyur starter code #40

wants to merge 1 commit into from

Conversation

MichaelJBigelow
Copy link

If the locale argument is not specified when calling babel.dates.format_datetime(), it throws the following error:
AttributeError: 'NoneType' object has no attribute 'days'

If the locale argument is not specified when calling babel.dates.format_datetime(), it throws the following error:
AttributeError: 'NoneType' object has no attribute 'days'
@marwahalharbi2
Copy link

that solves the issue I faced, it worked

@SudKul
Copy link
Contributor

SudKul commented Mar 16, 2021

Hi @ProcureEminenceMB
That's the perfect fix. We have already merged your proposed changes in the #117
Thanks for your contribution.

@SudKul SudKul closed this Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants