Skip to content

fix: AttributeError in Fyyur starter code#40

Closed
MichaelJBigelow wants to merge 1 commit intoudacity:masterfrom
MichaelJBigelow:master
Closed

fix: AttributeError in Fyyur starter code#40
MichaelJBigelow wants to merge 1 commit intoudacity:masterfrom
MichaelJBigelow:master

Conversation

@MichaelJBigelow
Copy link
Copy Markdown

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
Copy Markdown

that solves the issue I faced, it worked

@SudKul
Copy link
Copy Markdown
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