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

Pinboard.tags.get() breaks if tag key is "date" as it matches DATE_FIELDS #27

Closed
mpslanker opened this issue Feb 22, 2023 · 0 comments · Fixed by #28
Closed

Pinboard.tags.get() breaks if tag key is "date" as it matches DATE_FIELDS #27

mpslanker opened this issue Feb 22, 2023 · 0 comments · Fixed by #28

Comments

@mpslanker
Copy link
Contributor

This is probably very similar to issue #19.

However, just as it says in the title. If you have tag keys that match on any of the field lists, it breaks.
For example, if you have a tag of "date" then at line 199 the tag count is passed to Pinboard.datetime_from_string().
This results in an error as a string, in the form of a date, was expect and not an int.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant