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

TypeError: format() got an unexpected keyword argument 'formatter' #333

Open
bolkedebruin opened this issue Jan 16, 2019 · 1 comment
Open

TypeError: format() got an unexpected keyword argument 'formatter' #333

bolkedebruin opened this issue Jan 16, 2019 · 1 comment
Labels

Comments

@bolkedebruin
Copy link
Contributor

@bolkedebruin bolkedebruin commented Jan 16, 2019

>>> dt = pendulum.parse("2017-09-01 00:00:00+00:00")
>>> dt
DateTime(2017, 9, 1, 0, 0, 0, tzinfo=Timezone('+00:00'))
>>> dt.format('%Y-%m-%dT%H:%M:%S.%fZ', formatter='classic')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: format() got an unexpected keyword argument 'formatter'

Per #255 it is mentioned the keyword is not supported anymore, it then should be removed from the documentation.

@sdispater sdispater added the docs label May 21, 2019
@sleao
Copy link

@sleao sleao commented Jul 8, 2019

This should be fixed with a quick edit to string_formatting.md, am I right? If so, can I do it? If not, what else should I change in order to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.